dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 616

no-image

dsp56000

Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
B - 12
;Latest Revision — September 30, 1986
;
;
;Perform all FFT passes with triple nested DO loop
;
_end_bfy
_end_grp
_end_pass
Figure B-5 Real Input FFT Based on Glenn Bergland Algorithm (Sheet 1 of 8)
Figure B-2 Radix 2, In-Place, Decimation-In-Time FFT (Sheet 2 of 2)
move
move
move
move
move
move
move
move
do
move
move
lua
move
lua
move
move
move
do
move
move
move
do
mac
macr
subl
mac
macr
subl
move
move
move
Isr
IsI
move
endm
#points/2,n0
#1,n2
#points/4,n6
#-1,m0
m0,m1
m0,m4
m0,m5
#0,m6
#@cvi (@log(points)/@log(2)+0.5),_end_pass
#data,r0
r0,r4
(r0)+n0,r1
#coef,r6
(r1)-,r5
n0,n1
n0,n4
n0,n5
n2,_end_grp
x:(r1),X1
x:(r5),a
x:(r6)+n6,x0
n0,_end_bfy
x1,y0,b
-x0,y1,b
b,a
-x1,x0,b
-y1,y0,b
b,a
a,x:(r5)+n5
x:(r0)+n0,x1
n0,b1
b
a
a1,n2
Freescale Semiconductor, Inc.
For More Information On This Product,
n2,a1
b1,n0
BENCHMARK PROGRAMS
BENCHMARK PROGRAMS
a,x:(r5)+
x:(r0),b
x:(r0)+,a
x:(r1),x1
b,x:(r4)+
Go to: www.freescale.com
y:(r6),y0
y:(r0),b
y:(r1)+,y1
y:(r4)+n4,y1
y:(r1)+n1,y1
;initialize butterflies per group
;initialize groups per pass
;initialize C pointer offset
;initialize A and B address modifiers
;for linear addressing
;initialize C address modifier for
;reverse carry (bit-reversed) addressing
;initialize A input pointer
;initialize A output pointer
;initialize B input pointer
;initialize C input pointer
;initialize B output pointer
;initialize pointer offsets
;divide butterflies per group by two
;multiply groups per pass by two
y:(r0),a
b,y:(r4)
a,y:(r5)
y:(r0),b
;lookup -sine and
; -cosine values
;preload data
;update C pointer
;Radx 2 DIT
;butterfly kernel
;update A and B pointers
MOTOROLA

Related parts for dsp56000