1 /* (CC-BY-NC-SA) ROBIN KRENS - ROBIN @ ROBINKRENS.NL
4 * 2019/7/20 - ROBIN KRENS
10 .equ STACK_TOP, 0x20010000 /* placed at 64kB, top of SRAM */
13 .global reset, nmi, hardfault
17 .word STACK_TOP, reset, nmi, hardfault
20 /* A reset vector (or bootcode) will call main in main.c
21 this is the so called 'entry to C' */
26 /* These are consequently the nmi and hardfault vector handlers
27 before booting and entering main, these can actually be called
28 (machine somehow has a failure). That's why they are included here.
29 Later the interrupt vector
30 will be relocated to SRAM and the will be copied / modified. */
41 ldc2 11, cr0, [r1, #4]