2-4-2 Interrupt Sources and Vector Addresses
In addition to reset, there are 20 interrupt vectors that indicate the starting
addresses of interrupt programs. These vectors are located in the 80-byte
ROM address area X'04004'
to
X'04053'.
Table 2-4-1 Interrupt Control Registers
Chapter 2 Basic CPU Functions
33
Interrupts
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Vector Number
Control Register
(address)
NMICR
IRQ0ICR
IRQ1ICR
TM2ICR
TBICR
SC0ICR
ADICR
IRQ2ICR
IRQ3ICR
TM3ICR
TM4ICR
TM5ICR
20
X'04000'
X'04004'
X'04008'
X'0400C'
X'04010'
X'04014'
X'04018'
X'0401C'
X'04020'
X'04024'
X'04028'
X'0402C'
X'04030'
X'04034'
X'04038'
X'0403C'
X'04040'
X'04044'
X'04048'
X'0404C'
Vector Address
X'04050'
Interrupt Source
Non-maskable interrupt (NMI)
External interrupt 0 (IRQ0)
External interrupt 1 (IRQ1)
Reserved
Reserved
Timer 2 compare-match (TM2IRQ)
Time base period (TBIRQ)
SC0 transfer complete (SC0IRQ)
Reserved
External interrupt 2 (IRQ2)
External interrupt 3 (IRQ3)*
Reserved
Timer 3 compare-match (TM3IRQ)
Timer 4 compare-match (TM4IRQ)
Timer 5 compare-match (TM5IRQ)
Reserved
Reserved
Reserved
Reserved
Reset
(X'03FE1')
(X'03FE2')
(X'03FE3')
(X'03FE4')
(X'03FE5')
(X'03FE6')
(X'03FE7')
(X'03FE8')
(X'03FE9')
(X'03FEA')
(X'03FEB')
(X'03FEC')
(X'03FED')
(X'03FEE')
(X'03FEF')
(X'03FF0')
(X'03FF1')
(X'03FF2')
(X'03FF3')
(X'03FF4')
A/D conversion complete (ADIRQ)
Set the vector addresses for reserved and unused interrupts to
an address containing an RTI instruction.
*
IRQ31CR cannot be used
except for 48-pin QFH
package.