Program
execution state
Interrupt
generated?
No
No
No
Yes
(BL bit
in SR = 0) or
(sleep or standby
mode)?
No
NMIB in
ICR = 1 and
NMI?
Yes
NMI?
Yes
Yes
No
Level 15
interrupt?
Yes
No
Level 14
interrupt?
*
I3–I0 =
Yes
level 14 or
lower?
Yes
No
Level 1
interrupt?
No
I3–I0 =
level 13 or
lower?
Yes
Set interrupt source
in INTEVT
Yes
No
Yes
I3–I0 =
Save SR to SSR;
save PC to SPC
level 0?
No
Set BL, MD, RB bits
in SR to 1
Branch to exception
handler
Note: * I3–I0: Interrupt mask bits in status register (SR)
Figure 19.3 Interrupt Operation Flowchart
Rev. 6.0, 07/02, page 769 of 986