Hitachi SH7032 Hardware Manual page 112

Superh risc engine
Table of Contents

Advertisement

Program
execution state
Interrupt?
Yes
NMI?
Yes
IRQOUT low
*1
Push SR onto stack
Push PC onto stack
Copy level of accep-
tance from I3 to I0
IRQOUT high
*2
Read exception
vector table
Branch to exception
handling routine
I3 to I0: Interrupt mask bits of status register
Notes: *1 IRQOUT is the same signal as the interrupt request signal to the CPU (figure 5.1). The
IRQOUT pin returns to the high level when the interrupt controller has accepted the
interrupt of a level higher than that specified by bits I3 to I0 in the CPU's status
register.
*2 If the accepted interrupt is edge-sensed, the IRQOUT pin returns to the high level
when the instruction to be executed by the CPU is replaced by interrupt exception
handling (before the status register is saved to the stack ). If the interrupt controller has
accepted another interrupt of a level higher than the current interrupt, and has sent an
interrupt request to the CPU, however, the IRQOUT pin remains low.
No
No
No
User break?
Level 15
Yes
interrupt?
Yes
I3 to I0 ≤
level 14?
Figure 5.2 Flowchart of Interrupt Operation
No
Yes
Level 14
interrupt?
Yes
No
Yes
I3 to I0 ≤
level 13?
No
No
Level 1
interrupt?
Yes
Yes
I3 to I0 =
level 0?
No
No
77

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents