|
FUNC void Setup (void) {
|
|
SP = _RDWORD(0x8010100); // Setup Stack Pointer
|
|
PC = _RDWORD(0x8010104); // Setup Program Counter
|
|
_WDWORD(0xE000ED08, 0x8010100); // Setup VTOR
|
|
}
|
|
LOAD %L INCREMENTAL // load the application
|
|
Setup(); // Setup for Running
|
|
g, _main |