EIT
4.12 Example of EIT Processing
4
4.12 Example of EIT Processing
(1) When RIE, AE, FPE, SBI, EI or TRAP occurs singly
IE = 1
BPC register = Return address A
IE = 0
RIE, AE, FPE, SBI, EI or TRAP
occurs singly
If IE = 0, no events but reset and
SBI are accepted.
Return address A:
IE = 1
RTE instruction
: EIT handler
Figure 4.12.1 Processing of Events When RIE, AE, FPE, SBI, EI or TRAP Occurs Singly
(2) When RIE, AE, FPE or TRAP and EI occur simultaneously
RIE, AE, FPE or TRAP is accepted first.
BPC register = Return address A
IE = 1
IE = 0
RTE instruction
RIE, AE, FPE or TRAP and EI
occur simultaneously
IE = 1
IE = 0
Return address A:
EI is accepted next.
BPC register = Return address A
IE = 1
RTE instruction
: EIT handler
Figure 4.12.2 Processing of Events When RIE, AE, FPE or TRAP and EI Occur Simultaneously
32180 Group User’s Manual (Rev.1.0)
4-20