139
CHAPTER 6. INTERRUPT FUNCTIONS
(3)
Pending interrupt execution - interrupt input in interrupt disabled state
Reset
➂
INTCSI
<INT0 Service Program>
RETI
RETI
<INTCSI Service Program>
EI IE0
➀
INT0
<Main program>
➁
EI
➃
EI IECSI
➀
Although INT0 is set in the interrupt disabled state, the interrupt flag is held pending.
➁
The INT0 service program is started at point at which interrupts are enabled by the EI instruction.
➂
Same as
➀
.
The INTCSI service routine is started at the point at which the pending INTCSI is enabled.
4