beautypg.com

Motorola DSP96002 User Manual

Page 540

background image

MOTOROLA

DSP96002 USER’S MANUAL

B-21

; r6 = temp storage pointer n6 = not used

; r7 = not used n7 = not used

;

; Alters Data ALU Registers

; d0 d4 d8

; d1 d5 d9

; d2 d6

; d3 d7

;

; Alters Address Registers

; r0 n0 m0

; r1 n1 m1

; r2 n2 m2

; r3 n3 m3

; r4 n4 m4

; r5 n5 m5

; r6 m6

;

; Alters Program Control Registers

; pc sr

;

; Uses 6 locations on System Stack

;

; This program has not been exhaustively tested and may contain errors.

;

; ICycles Prog

; Word Cycle

page ;

move #points/4,n0 ;initialize butterflies per group 2 2

move n0,n4 ; " 1 1

move #1,n2 ;initialize groups per pass 1 1

move #1,n3 ;initialize w rotation factor 1 1

move #-1,m0 ;initialize linear addressing 1 1

move m0,m1 ; " 1 1

move m0,m2 ; " 1 1

move m0,m3 ; " 1 1

move m0,m4 ; " 1 1

move m0,m5 ; " 1 1

move m0,m6 ; " 1 1