1 .equ STACK_TOP, 0x20010000 /* placed at 32kB, TODO: could place at top of SRAM? */
4 .global reset, nmi, hardfault
8 .word STACK_TOP, reset, nmi, hardfault
11 /* A reset vector (or bootcode) will call main in main.c
12 this is the so called 'entry to C' */
17 /* These are consequently the nmi and hardfault vector handlers
18 before booting and entering main, these can actually be called
19 (machine somehow has a failure). That's why they are included here.
20 Later the interrupt vector
21 will be relocated to SRAM and the will be copied / modified. */
32 ldc2 11, cr0, [r1, #4]