APPENDIX E INITIALIZATION ROUTINE
AP-E-2
Seiko Epson Corporation
S1C17M12/M13 TECHNICAL MANUAL
(Rev. 1.2)
; ======================================================================
; Interrupt handler
; ======================================================================
; ----- Address unalign --------------------------
unalign_handler:
...
; ----- NMI -------------------------------------
nmi_handler:
...
(1) A “
.rodata
” section is declared to locate the vector table in the “
.vector
” section.
(2) Interrupt handler routine addresses are defined as vectors.
“
intXX_handler
” can be used for software interrupts.
(3) The program code is written in the “
.text
” section.
(4) Sets the stack pointer.
(5) Sets the number of Flash memory read cycles.
(See the “Memory and Bus” chapter.)