Interrupt Exception Handling Sequence; Figure 5.4 Flowchart Of Procedure Up To Interrupt Acceptance In Control Mode 2 - Hitachi H8S/2628 Hardware Manual

H8s/2628 series 16-bit single-chip microcomputer
Table of Contents

Advertisement

Level 7 interrupt?
Mask level 6

Figure 5.4 Flowchart of Procedure Up to Interrupt Acceptance in Control Mode 2

5.6.3

Interrupt Exception Handling Sequence

Figure 5.5 shows the interrupt exception handling sequence. The example shown is for the case
where interrupt control mode 0 is set in advanced mode, and the program area and stack area are
in on-chip memory.
Program execution status
Interrupt generated?
Yes
No
Yes
Level 6 interrupt?
No
or below?
Yes
Save PC, CCR, and EXR
Update mask level
Read vector address
Branch to interrupt handling routine
No
Yes
NMI
No
No
Yes
No
Mask level 5
or below?
Yes
Clear T bit to 0
No
Level 1 interrupt?
Yes
No
Mask level 0?
Yes
Hold
pending
Rev. 1.0, 09/02, page 79 of 568

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2628Hd6432628H8s/2627Hd6432627

Table of Contents