dsp56800 Freescale Semiconductor, Inc, dsp56800 Datasheet - Page 423

no-image

dsp56800

Manufacturer Part Number
dsp56800
Description
16-bit Digital Signal Controllers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Freescale Semiconductor
Rows_Traverse:
Cols_Traverse:
;
;
;
adjust pointers for frame boundary
opt
MOVE
MOVE
MOVE
MOVE
MOVE
MOVE
MOVE
MOVE
PUSH
PUSH
DO
MPY
MAC
MAC
MAC
MAC
MOVE
MAC
MAC
MAC
MOVE
MOVE
MACR
MOVE
LEA
LEA
LEA
LEA
DECW
BGT
POP
POP
cc
#CoeffMask,R3
#Image,R0
#128,Y1
#-261,R1
#OutputImage,R2
Y1,N
Y1,X:ImageRowsCnt
LC
LA
Y1,Cols_Traverse
Y0,X0,A
Y0,X0,A
Y0,X0,A
Y0,X0,A
Y0,X0,A
R1,N
Y0,X0,A
Y0,X0,A
Y0,X0,A
#CoeffMask,R3
Y1,N
Y0,X0,A
A,X:(R2)+
(R0)+
(R0)+
(R2)+
(R2)+
X:ImageRowsCnt
Rows_Traverse
LA
LC
m
X:(R0)+,Y0
X:(R0)+,Y0
X:(R0)+N,Y0 X:(R3)+,X0 ; 1
X:(R0)+,Y0
X:(R0)+,Y0
X:(R0)+N,Y0 X:(R3)+,X0 ; 1
X:(R0)+,Y0
X:(R0)+,Y0
X:(R0)+N,Y0 X:(R3)+,X0 ; 1
X:(R0)+,y0
X:(R3)+,X0 ; 1
X:(R3)+,X0 ; 1
X:(R3)+,X0 ; 1
X:(R3)+,X0 ; 1
X:(R3)+,X0 ; 1
X:(R3)+,X0 ; 1
X:(R3)+,x0 ; 1
Total:
DSC Benchmarks
; 1
; 2
; 2
; 2
; 2
; 1
; 1
; 2
; 2
; 2
; 1
; 1
; 1
; 1
; 1
; 1
; 1
; 1
; 1
; 1
; 1
; 1
; _______
39
1
2
2
2
2
1
1
1
2
2
3
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
6/4 continue until all row done
1
1
13N
Kernel: 13
2
+14N+18
pointer to coef (short addr)
top boundary
image row,column order
jump to next row
output image
Y0=im[1,1], X0=c11
row i to i+1 adjust
number of rows to process
save possible incoming LC
save possible incoming LA
process all columns
im[1,1]*c11
+im[1,2]*c12
+im[1,3]*c13
+im[2,1]*c21
+im[2,2]*c22
for row i to i-2 adjust
+im[2,3]*c23
+im[3,1]*c31
+im[3,2]*c32
back to first coeff
for row i to i+1 adjust
+im[3,3]*c33
store output computed pixel
adjust R0
adjust R2
decrement to do numb of rows
restore incoming LA
restore incoming LC
B-27

Related parts for dsp56800