Freescale Semiconductor DSP56374 User Manual page 181

24-bit digital signal
Table of Contents

Advertisement

; Example would store $004567 words from P:$400
;
;
; Will start running from P:$400
;'GetWord' will return word in x0
;*** Get Header Data from EEPROM ***
jsr
GetWord
move
a1,r0
jsr
GetWord
move
a1,r1
jsr
GetWord
move
a1,r2
jsr
GetWord
move
a1,r4
jsr
GetWord
move
a1,r5
jsr
GetWord
move
a1,r6
;**************************************
;*** Get data from EPROM ***
;Get length of P data
do
r4,EndofP
jsr
GetWord
move
a1,p:(r0)+
nop
nop
nop
EndofP:
;Get length of X data
do
r5,EndofX
jsr
GetWord
move
a1,x:(r1)+
nop
Freescale Semiconductor
$433521 words from X:$500
$246456 words from Y:$600
;Get P address
;Pointer to P memory
;Get X address
;Pointer to X memory
;Get Y address
;Pointer to Y memory
;Get P length
;Store P length
;Get X length
;Store X length
;Get Y length
;Store Y length
DSP56374 Users Guide, Rev. 1.2
Using The Serial EEPROM Boot Mode
A-11

Advertisement

Table of Contents
loading

Table of Contents