Escolar Documentos
Profissional Documentos
Cultura Documentos
A (n)
x
B (n)
P (2n)
A3 A2 A1 A0 1101
x x 0101
B3 B2 B1 B0
1101
0000
1101
0000
P7 P6 P5 P4 P3 P2 P1 P0 01000001
P7 P6 P5 P4
“0“ A3 A2 A1 A0
A3 B0
B0
A2 B0
A1 B0
P0 A0 B0
(LSB)
A3 A2 A1 A0
A3 B1
A2 B1
A1 B1 B1
x3 x2 x1 x0 y3 y2 y1 y0
Σ ci = 0
co x3 x2 x1 x0 A0 B1
(LSB)
P1
A
n n
LDR LDA
CLR REG REGA
n
n n
n
P7 P6 P5 P4
ci = 0
Σ B
n
n+1 SO
(LSB) SI SHR-B LDB
n derechas
SHB
P3 P2 P1 P0
Fig. 3. Implementación secuencial del algoritmo de multiplicación
(algoritmo de suma -desplazamiento)
START’
CLR
LDA LDR LDR LDR LDR
LDB SHB SHB SHB SHB
Wait START LD S0 S1 S2 S3