2 FUNC void Setup
(unsigned int region
) {
4 _WDWORD
(0x40043100, region
);
// Set the shadow pointer
5 _WDWORD
(0xE000ED08, 0);
// Set the vector table offset to
0
6 SP = _RDWORD(0); // Setup Stack Pointer
7 PC = _RDWORD(4); // Setup Program Counter
11 Setup
(0x14000000);
// Get ready to execute image in QSPI