Motorola DSP96002 User Manual page 544

32-bit digital signal processor
Table of Contents

Advertisement

cbuf
dsig
xsig
start
move
move
move
move
move
move
move
move
main
fclr
fclr
rep
fmpy
fadd.s
move
fsub.s
fmpy.s
fmpy.s
fadd.s
do
fmpy.s
fadd.s
cup
move
jmp
end
The FIR filter requires 1N/coefficient and the coefficient update requires 2N/coefficient for a total of 3N/co-
efficient.
MOTOROLA
org
y:0
ds
ntaps
org
y:10
ds
1
ds
1
org
p:$50
#sbuf,r0
#cbuf,r4
r4,r5
#ntaps-1,m0
#ntaps-1,m4
#ntaps-1,m5
#-3,n0
#u,d7.s
d1
d0
d4.s,x:(r0)+
#ntaps
d4,d5,d1
fadd.s d1,d0
d1,d0
x:(r0)-,d4.s
d0,d1
d7,d1,d1
x:(r0)+,d4.s
d4,d1,d3
d3,d5
x:(r0)+,d4.s
#ntaps,cup
d4,d1,d3
d5.s,d0.s
d3,d5
x:(r0)+,d4.s
x:(r0)+n0,d4.s
main
DSP96002 USER'S MANUAL
;point to state buffer
;point to coefficient buffer
;extra pointer
;mod on pointers
;final adjustment
;adaptation constant
y:xsig,d4.s
y:(r4)+,d5.s
x:(r0)+,d4.s
y:(r4)+,d5.s
y:(r4)-,d5.s
y:dsig,d1.s
y:(r4)+,d5.s
y:(r4)+,d5.s
d0.s,y:(r5)+
y:(r4)-,d0.s
B-25

Advertisement

Table of Contents
loading

Table of Contents