English
Language : 

M16C Datasheet, PDF (55/262 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Preliminary Specifications REV.B
Mitsubishi microcomputers
Specifications in this manual are tentative and subject to change.
M16C / 6N Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Interrupts
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 6. 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.
MSB
LSB
Vector address + 0
Low address
Vector address + 1
Mid address
Vector address + 2
Vector address + 3
0000
0000
High address
0000
Figure 6-2. Format for specifying interrupt vector addresses
• 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 FFFDC16 to FFFFF16. One vector table comprises four bytes. Set the first address of
interrupt routine in each vector table. Table 6. 1 shows the interrupts assigned to the fixed vector tables
and addresses of vector tables.
Table 6-1. Interrupts assigned to the fixed vector tables and addresses of vector tables
Interrupt source Vector table addresses
Remarks
Address (L) to address (H)
Undefined instruction FFFDC16 to FFFDF16 Interrupt on UND instruction
Overflow
FFFE016 to FFFE316 Interrupt on INTO instruction
BRK instruction
FFFE416 to FFFE716 If the vector contains FF16, program execution starts from
the address shown by the vector in the variable vector table
Address match
FFFE816 to FFFEB16 There is an address-matching interrupt enable bit
Single step (Note)
FFFEC16 to FFFEF16 Do not use
Watchdog timer
Oscillation stop detection
________
DBC (Note)
NMI
FFFF0 16 to FFFF316
FFFF416 to FFFF716
FFFF816 to FFFFB16
Do not use
_______
External interrupt by input to NMI pin
Reset
FFFFC16 to FFFFF16
Note: Interrupts used for debugging purposes only.
55