Appendix D
**************************************************************
*
* Forward declaration of the default fault handlers.
*
**************************************************************
.global myStart, myStack, ResetISR, Vecs, _c_int00, _main
**************************************************************
* Interrupt vector table
**************************************************************
.sect “.intvecs”
Vecs: .word myStack + 0x400 ; The initial stack pointer
.word _main ; The reset handler
.word NmiSR ; The NMI handler
.word FaultISR ; The hard fault handler
.word IntDefaultHandler ; The MPU fault handler
.word IntDefaultHandler ; The bus fault handler
.word IntDefaultHandler ; The usage fault handler
.word 0 ; Reserved ...
Get ARM Assembly Language, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.