Datasheet

Section 5 Interrupt Controller
Rev. 3.00 Sep. 28, 2009 Page 86 of 710
REJ09B0384-0300
(14)(12)(10)(6)(4)(2)
(1) (5) (7) (9) (11) (13)
Prefetch of instruction in
interrupt-handling routine
Vector fetchStack access
Instruction
prefetch
Internal
processing
Internal
processing
Interrupt is
accepted
Interrupt level
decision and wait for
end of instruction
Interrupt
request signal
Internal
address bus
Internal read
signal
Internal write
signal
Internal
data bus
φ
(3)
(1)
(2) (4)
(3)
(5)
(7)
Instruction prefetch address (Instruction is not executed.
Address is saved as PC contents, becoming return address.)
Instruction code (not executed)
Instruction prefetch address (Instruction is not executed.)
SP – 2
SP – 4
Saved PC and CCR
Vector address
Starting address of interrupt-handling routine (contents of vector address)
Starting address of interrupt-handling routine ((13) = (10) (12))
First instruction in interrupt-handling routine
(6) (8)
(9) (11)
(10) (12)
(13)
(14)
(8)
Figure 5.7 Interrupt Exception Handling