aPPenDiX D iniTialiZaTiOn ROuTine
aP-D-2
Seiko epson Corporation
S1C17624/604/622/602/621 TeChniCal Manual
; ======================================================================
; 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.
“
int
XX
_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 controller access cycles.
Can be set to 1-cycle access for S1C17624/604/622/602/621.
(See the “Memory Map” chapter.)