Example Of Eit Processing - Mitsubishi Electric M32R Series User Manual

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

Advertisement

4

4.12 Example of EIT Processing

(1) When RIE, AE, SBI, EI, or TRAP occurs singly
RIE, AE, SBI, EI,
or TRAP occurrs Singly
Return address A:
Figure 4.12.1 Processing of Events When RIE, AE, SBI, EI, or TRAP Occurs Singly
(2) When RIE, AE, or TRAP and EI occurs simultaneously
RIE, AE, or TRAP and EI
occurs simultaneously
Return address A:
Figure 4.12.2 Processing of Events when RIE, AE, or TRAP and EI Occurs Simultaneously
IE=1
BPC register = Return address A
IE=0
IE=1
RTE instruction
IE=1
IE=0
RTE instruction
IE=1
IE=0
IE=1
RTE instruction
4-23
4.12 Example of EIT Processing
If IE = 0, no events but reset
and SBI are accepted
:EIT handler
RIE, AE, or TRAP is accepted first
BPC register = Return address A
EI is accepted next
BPC register = Return address A
:EIT handler
EIT
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents