Interrupts And Interrupt Vector; Fixed Vector Tables; Relocatable Vector Tables - Renesas M16C/6NK Hardware Manual

16-bit single-chip microcomputer m16c family / m16c/60 series
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)

10.4 Interrupts and Interrupt Vector

One interrupt vector consists of 4 bytes. Set the start address of each interrupt routine in the respective
interrupt vectors. When an interrupt request is accepted, the CPU branches to the address set in the
corresponding interrupt vector. Figure 10.2 shows the interrupt vector.
Figure 10.2 Interrupt Vector

10.4.1 Fixed Vector Tables

The fixed vector tables are allocated to the addresses from FFFDCh to FFFFFh. Table 10.1 lists the fixed
vector tables. In the flash memory version of microcomputer, the vector addresses (H) of fixed vectors are
used by the ID code check function. For details, refer to 21.2 Functions to Prevent Flash Memory from
Rewriting.
Table 10.1 Fixed Vector Tables
Interrupt Source
Undefined Instruction (UND instruction) FFFDCh to FFFDFh M16C/60, M16C/20, M16C/Tiny
Overflow (INTO instruction)
(2)
BRK Instruction
Address Match
(1)
Single Step
Oscillation Stop and Re-oscillation Detection, FFFF0h to FFFF3h 8. Clock Generating Circuit
Watchdog Timer
________
(1)
DBC
_______
NMI
Reset
NOTES:
1. Do not normally use this interrupt because it is provided exclusively for use by development tools.
2. If the contents of address FFFE7h is FFh, program execution starts from the address shown by the
vector in the relocatable vector table.

10.4.2 Relocatable Vector Tables

The 256 bytes beginning with the start address set in the INTB register comprise a relocatable vector
table area. Table 10.2 lists the relocatable vector tables. Setting an even address in the INTB register
results in the interrupt sequence being executed faster than in the case of odd addresses.
Rev.2.00
Nov 28, 2005
REJ09B0124-0200
MSB
Vector address (L)
Vector address (H)
Vector table Addresses
Address (L) to Address (H)
FFFE0h to FFFE3h Series Software Manual
FFFE4h to FFFE7h
FFFE8h to FFFEBh 10.10 Address Match Interrupt
FFFECh to FFFEFh
FFFF4h to FFFF7h
FFFF8h to FFFFBh
FFFFCh to FFFFFh 5. Reset
page 84 of 378
Low-order address
Middle-order address
0 0 0 0
High-order address
0 0 0 0
0 0 0 0
11. Watchdog Timer
_______
10.7 NMI Interrupt
10. Interrupt
LSB
Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6nm

Table of Contents