dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 612

no-image

dsp56000

Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
B - 8
;
;
;
;*********************************************************************************************************************
;
;
;****************************************
n
start
wddr
cddr
input
output
;
;
;
;**********************************************************************************************************************
;*********************************************************************************************************************
end
initialization
equ
equ
equ
equ
equ
equ
org
move
move
move
move
opt
filter loop :8+(n-1) cycles
movep
clr
rep
mac
macr
movep
Figure B-1 20-Tap FIR Filter Example (Sheet 2 of 2)
Freescale Semiconductor, Inc.
For More Information On This Product,
20
$40
$0
$0
$ffe0
$ffe1
p:start
#wddr,r0
#cddr,r4
#n-1,m0
m0,m4
cc
y:input,x: (r0)
a
#n-1
x0,y0,a
x0,x0,a
a,y:output
BENCHMARK PROGRAMS
BENCHMARK PROGRAMS
Go to: www.freescale.com
x:(r0)+,x0
x:(r0)+,x0
(r0)-
;r0
;set modulo arithmetic
;for the 2 circular buffers
;input sample in memory
y: (r4)+,y0
y:(r4)+,y0
;output filtered sample
;r1
samples
coefficients
MOTOROLA

Related parts for dsp56000