Renesas M32R/ECU Series User Manual page 110

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

4
Hardware
preprocessing
Program being
executed
EIT event
occurs
Hardware
postprocessing
Note 1: Indicates saving and restoring the PSW register bits between its PSW and BPSW fields.
Figure 4.12.3 Example of EIT Processing
EIT vector entry
BRA instruction
EIT handler
PC→BPC
Save BPC to the stack
PSW→BPSW
(Note 1)
Save PSW to the stack
Save general-purpose
registers to the stack
Processing by
Restore general-purpose
registers from the stack
(Note 1)
Restore PSW from the stack
BPSW→PSW
BPC→PC
Restore BPC from the stack
4-21
4.12 Example of EIT Processing
(Other than SBI)
System Break Interrupt
(SBI) processing
Program terminated
or system reset
EIT handler
RTE
32180 Group User's Manual (Rev.1.0)
EIT
(SBI)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents