beautypg.com

Motorola DSP96002 User Manual

Page 537

background image

B-18

DSP96002 USER’S MANUAL

MOTOROLA

do n2,_end_next

fmpy d9,d6,d0 fsub.s d1,d2 d0.s,x:(r4) y:(r0)+,d5.s

fmpy d9,d7,d1 faddsub.s d5,d2 d4.s,x:(r5) y:(r1),d7.s

fmpy d8,d6,d2 fadd.s d3,d0 x:(r0),d4.s d2.s,y:(r5)+

move x:(r6)+n6,d9.s y:,d8.s

fmpy d8,d7,d3 faddsub.s d4,d0 x:(r1)+,d6.s d5.s,y:(r4)+

fmpy d9,d6,d0 fsub.s d1,d2 d0.s,x:(r4) y:(r0)+n0,d5.s

fmpy d9,d7,d1 faddsub.s d5,d2 d4.s,x:(r5) y:(r1),d7.s

fmpy d8,d6,d2 fadd.s d3,d0 x:(r0),d4.s d2.s,y:(r5)+n5

fmpy d8,d7,d3 faddsub.s d4,d0 x:(r1)+n1,d6.s d5.s,y:(r4)+n4

_end_next

;

; last pass

;

move n2,d0.l

lsl d0 r2,r0

move d0.l,n2

move r0,r4

lea (r0)+,r1

move r1,r5

move m2,r6

move #2,n0

move n0,n1

move n0,n4

move n0,n5

move x:(r6)+n6,d9.s y:,d8.s

move y:(r1),d7.s

fmpy.s d8,d7,d3 x:(r1)+n1,d6.s

fmpy.s d9,d6,d0

fmpy.s d9,d7,d1 y:(r1),d7.s

fmpy d8,d6,d2 fadd.s d3,d0 x:(r0),d4.s

move x:(r6)+n6,d9.s y:,d8.s

fmpy d8,d7,d3 faddsub.s d4,d0 x:(r1)+n1,d6.s

do n2,_end_last

fmpy d9,d6,d0 fsub.s d1,d2 d0.s,x:(r4) y:(r0)+n0,d5.s

fmpy d9,d7,d1 faddsub.s d5,d2 d4.s,x:(r5) y:(r1),d7.s

fmpy d8,d6,d2 fadd.s d3,d0 x:(r0),d4.s d2.s,y:(r5)+n5