beautypg.com

Motorola DSP96002 User Manual

Page 535

background image

B-16

DSP96002 USER’S MANUAL

MOTOROLA

faddsub.s d1,d7 d0.s,x:(r4) y:(r1)+,d2.s

faddsub.s d3,d2 d1.s,x:(r5)-

faddsub.s d2,d6 x:(r0)-,d1.s d4.s,y:(r5)+n5

faddsub.s d3,d5 x:(r1)-,d0.s d2.s,y:(r4)+

faddsub.s d1,d0 x:(r5),d2.s d6.s,y:(r0)+

ftfr.s d5,d4 x:(r4),d5.s d3.s,y:(r1)

faddsub.s d5,d2 d7.s,x:(r1)+ y:(r4),d7.s

_twopass

move d4.s,y:(r5)+

;

; Middle passes

;

tfr d9,d3 #4,d0.l

clr d2 d8.l,d1.l

sub d0,d3 d2.l,m6

do d3.l,_end_pass

move d0.l,n2

move r2,r0

lsr d1 m2,r6

dec d1 d1.l,n0

dec d1 d1.l,n1

move d1.l,n3

move n0,n4

move n0,n5

lea (r0)+n0,r1

move r0,r4

move r1,r5

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)+,d6.s

do n2,_end_grp

do n3,_end_bfy