![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_146.png)
122
CHAPTER 6 INTERRUPTS
MB90560 series
6.2
Interrupt Causes and Interrupt Vectors
The F
2
MC-16LX can handle 256 types of interrupt causes. The 256 interrupt vector
tables are allocated to the memory at the highest addresses. These interrupt vectors
are shared by all interrupts.
Software interrupts can use all these interrupt vectors (INT0 to INT256). Software
interrupts share some interrupt vectors with the hardware interrupts and exception
processing interrupts. Hardware interrupts used a fixed interrupt vector and interrupt
control register (ICR) for each peripheral function.
I
Interrupt vectors
Interrupt vector tables referenced during interrupt processing are allocated to the highest
addresses in the memory area (“FFFC00
H
“ to “FFFFFF
H
”). Interrupt vectors share the same area
with EI
2
OS, exception processing, hardware, and software interrupts.
Table 6.2-1 shows the assignment of interrupt numbers and interrupt vectors.
Table 6.2-1 Interrupt vectors
Reference
Unused interrupt vectors should be set as the exception processing address.
Software
interrupt
instruction
Vector
address L
Vector
address M
Vector
address H
Mode data
Interrupt
No.
Hardware interrupt
INT0
:
INT7
INT8
INT9
INT10
INT11
INT12
INT13
INT14
:
INT254
INT255
FFFFFC
H
:
FFFFE0
H
FFFFDC
H
FFFFD8
H
FFFFD4
H
FFFFD0
H
FFFFCC
H
FFFFC8
H
FFFFC4
H
:
FFFC04
H
FFFC00
H
FFFFFD
H
:
FFFFE1
H
FFFFDD
H
FFFFD9
H
FFFFD5
H
FFFFD1
H
FFFFCD
H
FFFFC9
H
FFFFC5
H
:
FFFC05
H
FFFC01
H
FFFFFE
H
:
FFFFE2
H
FFFFDE
H
FFFFDA
H
FFFFD6
H
FFFFD2
H
FFFFCE
H
FFFFCA
H
FFFFC6
H
:
FFFC06
H
FFFC02
H
Not used
:
Not used
FFFFDF
H
Not used
Not used
Not used
Not used
Not used
Not used
:
Not used
Not used
#0
:
#7
#8
#9
#10
#11
#12
#13
#14
:
#254
#255
None
:
None
(RESET vector)
None
<Exception processing>
Hardware interrupt #0
Hardware interrupt #1
Hardware interrupt #2
Hardware interrupt #3
:
None
None