Motorola DSP96002 User Manual
Page 653
B-134
DSP96002 USER’S MANUAL
MOTOROLA
;This routine takes 15 + 16(18 + 14*17 + 18) = 4399 instruction
cycles.
;
;
;
Program ICycles
Words
page 132,60,1,1
N equ 16
N_sqr equ N*N
org x:$0
amatrix dc .1,.2,.3,.4,.1,.2,.3,.4,1,1,1,1,1,1,1,1
dc .5,.6,.7,.8,.5,.6,.7,.8,1,1,1,1,1,1,1,1
dc .9,.1,.2,.3,.9,.1,.2,.3,1,1,1,1,1,1,1,1
dc .4,.5,.6,.7,.4,.5,.6,.7,1,1,1,1,1,1,1,1
dc .1,.2,.3,.4,.1,.2,.3,.4,1,1,1,1,1,1,1,1
dc .5,.6,.7,.8,.5,.6,.7,.8,1,1,1,1,1,1,1,1
dc .9,.1,.2,.3,.9,.1,.2,.3,1,1,1,1,1,1,1,1
dc .4,.5,.6,.7,.4,.5,.6,.7,1,1,1,1,1,1,1,1
dc .1,.2,.3,.4,.1,.2,.3,.4,1,1,1,1,1,1,1,1
dc .5,.6,.7,.8,.5,.6,.7,.8,1,1,1,1,1,1,1,1
dc .9,.1,.2,.3,.9,.1,.2,.3,1,1,1,1,1,1,1,1
dc .4,.5,.6,.7,.4,.5,.6,.7,1,1,1,1,1,1,1,1
dc .1,.2,.3,.4,.1,.2,.3,.4,1,1,1,1,1,1,1,1
dc .5,.6,.7,.8,.5,.6,.7,.8,1,1,1,1,1,1,1,1
dc .9,.1,.2,.3,.9,.1,.2,.3,1,1,1,1,1,1,1,1
dc .4,.5,.6,.7,.4,.5,.6,.7,1,1,1,1,1,1,1,1
org y:$0
bmatrix dc .5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5
dc .5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5
dc .5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5
dc .5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5
d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