PPT Slide
A0 A
A1 X
A2
A3 A*X
A4 Y
A15
LDH .D *MemA, A0
LDH .D *MemX, A1
MPY .M A0, A1, A3
ADD .L A3, A4, A4
B .? loop
STH .D A4, *MemY
32-bits
Data Memory
.M
.L
Register File A
.D
.?
loop:
.
.
.
1
Previous slide
Next slide
Back to first slide
View graphic version
Notes:
Let’s implement step one, adding the branch instruction and label.
What functional unit would be used to implement the branch?