Exception Processing Vectors - Epson S1C88655 Technical Manual

Cmos 8-bit single chip microcomputer
Table of Contents

Advertisement

7.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 7.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).
S1C88655 TECHNICAL MANUAL
7 INTERRUPT AND STANDBY STATUS
Table 7.5.1 Vector address and exception
processing correspondence
Vector
Exception processing factor
address
000000H
Reset
000002H
Zero division
000004H
Watchdog timer (NMI)
000006H
P27 input interrupt
000008H
P26 input interrupt
00000AH
P25 input interrupt
00000CH
P24 input interrupt
00000EH
P23 input interrupt
000010H
P22 input interrupt
000012H
P21 input interrupt
000014H
P20 input interrupt
000016H
PTM 3 compare match interrupt
000018H
PTM 3 underflow interrupt
00001AH
PTM 2 compare match interrupt
00001CH
PTM 2 underflow interrupt
00001EH
PTM 1 compare match interrupt
000020H
PTM 1 underflow interrupt
000022H
PTM 0 underflow interrupt
000024H
PTM 0 compare match interrupt
000026H
Serial I/F 0 error interrupt
000028H
Serial I/F 0 receiving complete interrupt
00002AH
Serial I/F 0 transmitting complete interrupt
00002CH
Serial I/F 1 error interrupt
00002EH
Serial I/F 1 receiving complete interrupt
000030H
Serial I/F 1 transmitting complete interrupt
000032H
Clock timer 32 Hz interrupt
000034H
Clock timer 8 Hz interrupt
000036H
Clock timer 2 Hz interrupt
000038H
Clock timer 1 Hz interrupt
00003AH
PTM 7 compare match interrupt
00003CH
PTM 7 underflow interrupt
00003EH
PTM 6 compare match interrupt
000040H
PTM 6 underflow interrupt
000042H
PTM 5 compare match interrupt
000044H
PTM 5 underflow interrupt
000046H
PTM 4 compare match interrupt
000048H
PTM 4 underflow interrupt
00004AH
System reserved (cannot be used)
00004CH
:
Software interrupt
0000FEH
EPSON
Priority
High
Low
No
priority
rating
49

Advertisement

Table of Contents
loading

Table of Contents