beautypg.com

Motorola DSP96002 User Manual

Page 536

background image

MOTOROLA

DSP96002 USER’S MANUAL

B-17

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 d3,d0 x:(r0),d4.s d2.s,y:(r5)+

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

_end_bfy

move (r1)+n1

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)+,d6.s d5.s,y:(r4)+n4

_end_grp

move n2,d0.l

lsl d0 n0,d1.l

_end_pass

;

; next to last pass

;

move d0.l,n2

move r2,r0

move r0,r4

lea (r0)+2,r1

move r1,r5

move m2,r6

move #3,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)+,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

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