Motorola DSP96002 User Manual
Page 521
B-2
DSP96002 USER’S MANUAL
MOTOROLA
B.1.2 N Real Multiplies
c(I) = a(I) * b(I) , I=1,...,N
Program ICycles
Words
move #aaddr,r0
1 1
move #baddr,r4 1 1
move #caddr,r1 1 1
move x:(r0)+,d4.s y:(r4)+,d6.s 1 1
do #n,end 2 3
fmpy.s d4,d6,d0 x:(r0)+,d4.s y:(r4)+,d6.s 1 1
move d0.s,x:(r1)+ 1 1
end --- ---
Totals:
8 2N+7
(8 2N+7)
B.1.3 Real Update
d = c + a * b
Program ICycles
Words
move x:(r0),d4.s y:(r4),d6.s 1 1
fmpy.s d4,d6,d1 x:(r1),d0.s 1 1
fadd.s d1.s,d0.s 1 1
move d0.s,x:(r2) 1 1
--- ---
Totals:
4 4
(4 4)