
S1C88409 TECHNICAL MANUAL
EPSON
193
CHAPTER 5: PERIPHERAL CIRCUITS AND OPERATION (Interrupt and Standby Mode)
5.20.7 Exception processing vectors
When the CPU accepts an interrupt request, it
starts exception processing immediately after
completing the instruction being executed. The
CPU executes the following sequence as an
exception processing for branching the program.
(1) In the minimum mode, the program counter
(PC) and system condition flag (SC) are saved
in the stack. In the maximum mode, the code
bank register (CB), PC and SC are saved.
(2) The branch destination address is read from
the exception processing vector corresponding
to each exception processing (interrupt) factor
and is set in the PC.
Exception processing vector is a 2-byte data to
address the top of each exception (interrupt)
handler routine. The vector addresses correspond
to the exception processing factors as shown in
Table 5.20.7.1.
Note: An exception processing vector is fixed at 2
bytes, so it cannot specify a branch destina-
tion bank address. Therefore, to branch
from two or more banks to a common
exception handler routine, the top portion of
the exception handler routine must be
described within the common area
(000000H–007FFFH).
Table 5.20.7.1 Vector address and exception processing vector
Vector address
000000H
000002H
000004H
000006H
000008H
00000AH
00000CH
00000EH
000010H
000012H
000014H
000016H
000018H
00001AH
00001CH
00001EH
000020H
000022H
000024H
000026H
000028H
000032H
000034H
↓
0000FEH
Symbol
RESET
ZDIV
NMI
IRK10
IRK11
IRK12
IRK13
IRK0
IRTU0
IRTC0
IRTU1
IRTC1
IRTU2
IRSER
IRSRX
IRSTX
IRTP1
IRTP2
IRLCD
IRAD
IRRTC
–
Priority
High
↑
↓
Low
No
Priority
rating
Exception processing factor
Reset
Zero division
NMI (Watchdog timer)
Input port K1
Input port K0
16-bit programmable timer 0
16-bit programmable timer 1
8-bit programmable timer
Serial interface
Touch panel controller
LCD controller
A/D converter
Clock timer
System reserved (cannot be used)
Software interrupt
K10 input interrupt
K11 input interrup
K12 input interrup
K13 input interrup
K00–K07 input interrup
Underflow interrupt
Compare match interrupt
Underflow interrupt
Compare match interrupt
Underflow interrupt
Receive error interrupt
Receive completion interrupt
Receive error interrupt
Pen-down interrupt
Converted data update interrupt
Data transfer completion interrupt
A/D conversion completion interrupt
32Hz/8Hz/2Hz/1Hz/60S interrupt