Motorola DSP96002 User Manual page 162

32-bit digital signal processor
Table of Contents

Advertisement

; Host load routine
_HOSTR
_LBL11
_LBL22
_LBL33
_LBL1
_LBL2
_LOOP4
_STORE
_LOOP1
; This is the exit handler that returns execution to internal PRAM
_BOOTEND
; DSP96002 bootstrap program size = 50 words
Figure 9-3. Assembler Source for DSP96002 Bootstrap Program (3 of 3)
9.2
DATA MEMORY MAPS
The data memory maps are shown in Figure 9-4 and Figure 9-5.
9 - 6
JCLR
#3,X:(R2),_LBL22
ENDDO
JMP
<_BOOTEND
JCLR
#0,X:(R2),_LBL11
JCLR
#4,X:(R2),_LBL33
MOVE
X:(R3),D0.L
JMP
<_STORE
DO
#4,_LOOP4
LSR
#8,D0
JCLR
#3,X:(R2),_LBL2
ENDDO
ENDDO
JMP
<_BOOTEND
JCLR
#0,X:(R2),_LBL1
MOVE
X:(R3),D1.L
LSL
#24,D1
OR
D1,D0
MOVEM
D0.L,P:(R0)+
ANDI
#$F9,OMR
ANDI
#$0,CCR
JMP
<$0
DSP96002 USER'S MANUAL
; if HF0=1, stop loading data.
; Must terminate the do loops
; Wait for HRDF to go high
; (meaning data is present).
; 8-bit source?
; Get 32-bit word from host
; Get 4 bytes into D0.L
; Shift previous byte down
; if HF0=1, stop loading data.
; Must terminate the do loops
; Wait for HRDF to go high
; (meaning data is present).
; Get byte from host
; Shift into upper byte
; concatenate
; Store 32-bit result in P mem.
; and go get another 32-bit word
; Set the operating mode to 00x
; (and trigger an exit from
; bootstrap mode).
; Clear CCR as if HW RESET.
; Also delay needed for
; Op. Mode change.
; Start fetching from PRAM.
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents