Vector table

Definition

On reset, the processor loads the PC with the value of the reset vector, which is at address 0x0000 0004.

.syntax unified
.cpu cortex-m4
.thumb

.section .VectorTable, "a"
.word _StackEnd
.word Reset_Handler
.space 0xf8

.text

.type vtable, %object
.section .vector_table,"a",%progbits

vtable:
// 0-15
.word _estack
.word reset_handler
.word NMI_handler
.word hard_fault_handler

TO BE CONTINUED