
Interrupt
deeopmen
Preliminary Specifications REV.E
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M30220 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
33
Interrupt source
Vector table addresses
Address (L) to address (H)
FFFDC
16
to FFFDF
16
FFFE0
16
to FFFE3
16
FFFE4
16
to FFFE7
16
Remarks
Undefined instruction
Overflow
BRK instruction
Interrupt on UND instruction
Interrupt on INTO instruction
If the vector contains FF
16
, program execution starts from
the address shown by the vector in the variable vector table
There is an address-matching interrupt enable bit
Do not use
Address match
Single step (Note)
NMI
Reset
Note: Interrupts used for debugging purposes only.
FFFE8
16
to FFFEB
16
FFFEC
16
to FFFEF
16
FFFF0
16
to FFFF3
16
FFFF4
16
to FFFF7
16
FFFF8
16
to FFFFB
16
FFFFC
16
to FFFFF
16
Do not use
External interrupt by input to NMI pin
Figure 1.10.2. Format for specifying interrupt vector addresses
0 0 0 0
Vector address + 3
AAAAAAAA
Vector address + 0
High address
0 0 0 0
Vector address + 1
Vector address + 2
MSB
Interrupts and Interrupt Vector Tables
If an interrupt request is accepted, a program branches to the interrupt routine set in the interrupt vector
table. Set the first address of the interrupt routine in each vector table. Figure 1.10.2 shows the format for
specifying the address.
Two types of interrupt vector tables are available — fixed vector table in which addresses are fixed and
variable vector table in which addresses can be varied by the setting.
Fixed vector tables
The fixed vector table is a table in which addresses are fixed. The vector tables are located in an area
extending from FFFDC
16
to FFFFF
16
. One vector table comprises four bytes. Set the first address of
interrupt routine in each vector table. Table 1.10.1 shows the interrupts assigned to the fixed vector
tables and addresses of vector tables.
Table 1.10.1. Interrupts assigned to the fixed vector tables and addresses of vector tables