Motorola DSP96002 User Manual page 522

32-bit digital signal processor
Table of Contents

Advertisement

B.1.4 N Real Updates
d(I) = c(I) + a(I) * b(I), I=1,2,...,N
move
move
move
move
move
fmpy.s
do
fmpy.s d4,d6,d1
_end
B.1.5 FIR Filter with Data Shift
N-1
c(n) = SUM {a(I) * b(n-I)}
I=0
move
move
move
fclr
movep
fclr
rep #N
fmpy
movep
MOTOROLA
#aaddr,r0
#baddr,r4
#caddr,r1
#daddr,r5
d4,d6,d1
#N,_end
fadd.s d1,d0
#data,r0
#coef,r4
#n-1,m0
d1
d0
d4,d6,d1 fadd.s d1,d0
fadd.s d1,d0
DSP96002 USER'S MANUAL
x:(r0)+,d4.s y:(r4)+,d6.s 1
x:(r1)+,d0.s
x:(r0)+,d4.s y:(r4)+,d6.s 1
x:(r1)+,d0.s d0.s,y:(r5)+ 1
Totals: 10
m0,m4
x:input,x:(r0)
x:(r0)-,d4.s y:(r4)+,d6.s
x:(r0)-,d4.s y:(r4)+,d6.s
(r0)+
1
d0.s,x:output
Program ICycles
Words
1
1
1
1
1
1
1
1
1
1
1
2
3
1
1
---
---
2N+9
(10
2N+9)
Program
ICycles
Words
1
1
1
1
1
1
1
1
1
2
1
1
1
2
1
1
1
1
2
---
---
Totals:
10
1N+12
(10
1N+12)
B-3

Advertisement

Table of Contents
loading

Table of Contents