1 /* (CC-BY-NC-SA) ROBIN KRENS - ROBIN @ ROBINKRENS.NL
4 * 2019/7/20 - ROBIN KRENS
10 /* _start sets up the stack and jumps to the reset vector */
12 .equ STACK_TOP, 0x20010000 /* placed at 64kB, top of SRAM */
15 .global reset, nmi, hardfault
19 .word STACK_TOP, reset, nmi, hardfault
22 /* A reset vector (or bootcode) will call main in main.c
23 this is the so called 'entry to C' */
28 /* These are consequently the nmi and hardfault vector handlers
29 before booting and entering main, these can actually be called
30 (machine somehow has a failure). That's why they are included here.
31 Later the interrupt vector
32 will be relocated to SRAM and the will be copied / modified. */