dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 625

no-image

dsp56000

Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
count
ount
count
count
bergorder macro points,bergtable,offset
bergorder ident 1,3
;bergorder generates bergland order table
generated
_star
MOTOROLA
set
dup
dc
set
set
dup
dc
set
endm
org
endm
endm
move
move
move
move
move
move
move
move
move
move
move
move
move
move
do
move
lsr
move
nop
move
lsl
move
move
cmp
jle
move
move
move
0
@cos(@cvf(count)*freq)
count+1
0
@sin(@cvf(count)*freq)
count+1
x:coef
points/4
points/4
#>4,a
#points,r4
#>points/4,b
#bergtable,r0
b,n0
#>0,x0
x0,x:(r0)+n0
#>2,x0
x0,x:(r0)+n0
#>1,x0
x0,x:(r0)+n0
#>3,x0
x0,x:(r0)
#bergtable,n0
#@cvi(@log(points/4)/@log(2)),_endl
b,x0
b
b,r0
a,x:(r0+n0)
a
a,y1
r4,a
x0,a
_loop
x0,r0
y1,a
x:(r0+n0),y0
Freescale Semiconductor, Inc.
;end of bergsincos macro
For More Information On This Product,
BENCHMARK PROGRAMS
BENCHMARK PROGRAMS
Go to: www.freescale.com
;points=number of points of bergtable to be
;nitial pointer
;table resides in
;init offset
;seeds
;location of bergtable
;x0=i+i
;b=i
;r0=i
;k-> bergtable
;save A content
;r4=# of points
;r0=i+i=j,b=i
;recover A=k
;y0=bergtabl[j]
;k=k*2
;x0=j, if j< points, cont
B - 21

Related parts for dsp56000