Power Consumption Benchmark
do
#(XDAT_END-XDAT_START),XLOAD_LOOP
move
move
p:(r1)+,x0
x0,x:(r0)+
XLOAD_LOOP
;
;Load the Y-data
;
move
move
do
move
move
#INT_YDAT,r0
#YDAT_START,r1
#(YDAT_END-YDAT_START),YLOAD_LOOP
p:(r1)+,x0
x0,y:(r0)+
YLOAD_LOOP
;
jmp
INT_PROG
PROG_START
move
#$0,r0
#$0,r4
#$3f,m0
#$3f,m4
move
move
move
;
clr
a
clr
b
move
move
move
move
bset
#$0,x0
#$0,x1
#$0,y0
#$0,y1
#4,omr
; ebd
;
sbr
dor
mac
mac
add
mac
mac
move
#60,_end
x0,y0,ax:(r0)+,x1
x1,y1,ax:(r0)+,x0
a,b
x0,y0,ax:(r0)+,x1
x1,y1,a
y:(r4)+,y1
y:(r4)+,y0
y:(r4)+,y0
b1,x:$ff
_end
bra
nop
nop
nop
nop
sbr
PROG_END
nop
nop
XDAT_START
;
org
dc
dc
dc
dc
dc
dc
dc
dc
dc
dc
x:0
$262EB9
$86F2FE
$E56A5F
$616CAC
$8FFD75
$9210A
$A06D7B
$CEA798
$8DFBF1
$A063D6
DSP56301 Technical Data, Rev. 10
A-2
Freescale Semiconductor