MOTOROLA
DSP96002 USER’S MANUAL
B-29
DSP56000 IMPLEMENTATION
Program ICycles
Words
move #state,r0 ;point to state variable storage
move #N,m0 ;N=number of k coefficients
move #k,r4 ;point to k coefficients
move #N-1,m4 ;mod for k’s
movep y:datin,b ;get input
move b,x:(r0)+ y:(r4)+,y0 ;save 1st state, get k 1 1
do #N,_elat ;do each section 2 3
move x:(r0),a b,y1 ;get s, copy t for mul 1 1
macr y1,y0,a a,y0 ;t*k+s, copy s 1 1
macr x0,y0,b a,x:(r0)+ y:(r4)+,y0 ;s*k+t, sv st, nxt k 1 1
_elat
move x:(r0)-,x0 y:(r4)-,y0 ;adj r0,r4 w/dummy loads 1 1
movep b,y:datout ;output sample ----- -----
Totals: 7 3N+5
DSP96002 IMPLEMENTATION
Program ICyc
Words
move #state,r0 ;point to state variable storage
move #N,m0 ;N=number of k coefficients
move #k,r4 ;point to k coefficients
move #N-1,m4 ;mod for k’s
move y:datin,d5.s ;get input
move d5.s,x:(r0)+ y:(r4)+,d4.s ;sv s,get k 1 1
do #N,_elat ;do filter 2 3
fmpy d5,d4,d3 x:(r0),d0.s ;t*k, get s 1 1
fmpy d0,d4,d1 fadd.s d3,d0 ;s*k,t*k+s 1 1
fadd.s d1,d5 d0.s,x:(r0)+ y:(r4)+,d4.s ;s*k+t; s,k 1 1
_elat
move x:(r0)-,d0.s y:(r4)-,d7.s ;adj r0,r4 w/dummy loads 1 1
movep d5,y:datout ;output sample
--- ---
Totals: 7 3N+5
Summary of Contents for DSP96002
Page 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Page 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Page 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Page 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Page 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Page 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Page 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Page 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Page 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Page 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Page 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Page 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Page 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Page 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Page 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Page 888: ...MOTOROLA INDEX 1 INDEX ...
Page 889: ......