Vi+ Loader Manual
2-39
for 16-Bit Processors
Blackfin Processor Loader/Splitter
Listing 2-2. Initialization Block Code Example for Multiple .DXE Boot
#include <defBF532.h>
.SECTION program;
/*******Pre-Init Section***************************************/
[--SP] = ASTAT;
[--SP] = RETS;
[--SP] = (r7:0);
[--SP] = (p5:0);
[--SP] = I0;[--SP] = I1;[--SP] = I2;[--SP] = I3;
[--SP] = B0;[--SP] = B1;[--SP] = B2;[--SP] = B3;
[-
-SP] = M0;[--SP] = M1;[--SP] = M2;[--SP] = M3;
[
--SP] = L0;[--SP] = L1;[--SP] = L2;[--SP] = L3;
/**************************************************************/
/*******Init Code Section**************************************
R0.H = High Address of DXE Location (R0 for Flash/Prom Boot,
R3 for SPI boot)
R0.L = Low Address of DXE Location. (R0 for Flash/Prom Boot,
R3 for SPI boot)
***************************************************************/
/*******Post-Init Section**************************************/
L3 = [SP++]; L2 = [SP++]; L1 = [SP++]; L0 = [SP++];
M3 = [SP++]; M2 = [SP++]; M1 = [SP++]; M0 = [SP++];
B3 = [SP++]; B2 = [SP++]; B1 = [SP++]; B0 = [SP++];
I3 = [SP++]; I2 = [SP++]; I1 = [SP++]; I0 = [SP++];
(p5:0) = [SP++];
/* MAKE SURE NOT TO RESTORE
R0 for Flash/Prom Boot, R3 for SPI Boot */
(r7:0) = [SP++];
RETS = [SP++];
ASTAT = [SP++];
/**************************************************************/
RTS;
Содержание VISUALDSP++ 3.5
Страница 9: ...VisualDSP 3 5 Loader Manual ix for 16 Bit Processors Contents INDEX ...
Страница 10: ...x VisualDSP 3 5 Loader Manual for 16 Bit Processors ...
Страница 20: ...Notation Conventions xx VisualDSP Loader Manual for 16 Bit Processors ...
Страница 86: ...Blackfin Processor Loader Guide 2 56 VisualDSP Loader Manual for 16 Bit Processors ...
Страница 144: ...ADSP 218x DSP Splitter Guide 5 20 VisualDSP 3 5 Loader Manual for 16 Bit Processors ...
Страница 166: ...INDEX I 12 VisualDSP Loader Manual for 16 Bit Processors ...