Exception Processing Vectors - Epson S1C88650 Technical Manual

Hewlett-packard cmos 8-bit single chip microcomputer technical manual
Table of Contents

Advertisement

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).
132
Table 5.14.5.1 Vector address and exception
Vector
Exception processing factor
address
000000H
Reset
000002H
Zero division
000004H
Watchdog timer (NMI)
000006H
K07 input interrupt
000008H
K06 input interrupt
00000AH
K05 input interrupt
00000CH
K04 input interrupt
00000EH
K03 input interrupt
000010H
K02 input interrupt
000012H
K01 input interrupt
000014H
K00 input interrupt
000016H
PTM 0 underflow interrupt
000018H
PTM 0 compare match interrupt
00001AH
PTM 1 underflow interrupt
00001CH
PTM 1 compare match interrupt
00001EH
PTM 2 underflow interrupt
000020H
PTM 2 compare match interrupt
000022H
PTM 3 underflow interrupt
000024H
PTM 3 compare match interrupt
000026H
System reserved (cannot be used)
000028H
Serial I/F error interrupt
00002AH
Serial I/F receiving complete interrupt
00002CH
Serial I/F transmitting complete interrupt
00002EH
System reserved (cannot be used)
000030H
System reserved (cannot be used)
000032H
System reserved (cannot be used)
000034H
Clock timer 32 Hz interrupt
000036H
Clock timer 8 Hz interrupt
000038H
Clock timer 2 Hz interrupt
00003AH
Clock timer 1 Hz interrupt
00003CH
PTM 4 underflow interrupt
00003EH
PTM 4 compare match interrupt
000040H
PTM 5 underflow interrupt
000042H
PTM 5 compare match interrupt
000044H
PTM 6 underflow interrupt
000046H
PTM 6 compare match interrupt
000048H
PTM 7 underflow interrupt
00004AH
PTM 7 compare match interrupt
00004CH
System reserved (cannot be used)
00004EH
:
Software interrupt
0000FEH
EPSON
processing correspondence
S1C88650 TECHNICAL MANUAL
Priority
High
Low
No
priority
rating

Advertisement

Table of Contents
loading

Table of Contents