
132 EPSON S1C88650 TECHNICAL MANUAL
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Interrupt and Standby Status)
5.14.5 Exception processing vectors
When the CPU accepts an interrupt request, it starts
exception processing following completion of the
instruction being executed. In exception processing,
the following operations branch the program.
(1) In the minimum mode, the program counter
(PC) and system condition flag (SC) are moved
to stack and in the maximum mode, the code
bank register (CB), PC and SC are moved.
(2) The branch destination address is read from the
exception processing vector corresponding to
each exception processing (interrupt) factor and
is placed in the PC.
An exception vector is 2 bytes of data in which the
top address of each exception (interrupt) processing
routine has been stored and the vector addresses
correspond to the exception processing factors as
shown in Table 5.14.5.1.
Note:
An exception processing vector is fixed at 2
bytes, so it cannot specify a branch destination
bank address. Consequently, to branch from
multiple banks to a common exception process-
ing routine, the top portion of an exception
processing routine must be described within the
common area (000000H–007FFFH).
Table 5.14.5.1 Vector address and exception
processing correspondence
Vector
address
000000H
000002H
000004H
000006H
000008H
00000AH
00000CH
00000EH
000010H
000012H
000014H
000016H
000018H
00001AH
00001CH
00001EH
000020H
000022H
000024H
000026H
000028H
00002AH
00002CH
00002EH
000030H
000032H
000034H
000036H
000038H
00003AH
00003CH
00003EH
000040H
000042H
000044H
000046H
000048H
00004AH
00004CH
00004EH
:
0000FEH
Priority
High
↑
↓
Low
No
priority
rating
Exception processing factor
Reset
Zero division
Watchdog timer (NMI)
K07 input interrupt
K06 input interrupt
K05 input interrupt
K04 input interrupt
K03 input interrupt
K02 input interrupt
K01 input interrupt
K00 input interrupt
PTM 0 underflow interrupt
PTM 0 compare match interrupt
PTM 1 underflow interrupt
PTM 1 compare match interrupt
PTM 2 underflow interrupt
PTM 2 compare match interrupt
PTM 3 underflow interrupt
PTM 3 compare match interrupt
System reserved (cannot be used)
Serial I/F error interrupt
Serial I/F receiving complete interrupt
Serial I/F transmitting complete interrupt
System reserved (cannot be used)
System reserved (cannot be used)
System reserved (cannot be used)
Clock timer 32 Hz interrupt
Clock timer 8 Hz interrupt
Clock timer 2 Hz interrupt
Clock timer 1 Hz interrupt
PTM 4 underflow interrupt
PTM 4 compare match interrupt
PTM 5 underflow interrupt
PTM 5 compare match interrupt
PTM 6 underflow interrupt
PTM 6 compare match interrupt
PTM 7 underflow interrupt
PTM 7 compare match interrupt
System reserved (cannot be used)
Software interrupt