82
2.9 Interrupt Program
An interrupt program is from an interrupt pointer (I ) to the IRET instruction.
The interrupt pointer (I ) number varies depending on the interrupt factor. ( Page 410, Section
4.11
)
When an interrupt factor occurs, the interrupt program of the interrupt pointer number corresponding to that factor
is executed. (Interrupt programs are executed only when the interrupt factor occurs.
FEND
EI
IRET
IRET
END
I0
I29
Main routine
program
Interrupt
program (I0)
Interrupt
program (I29)
Indicates the end
of the main routine
program.
Interrupt pointer
Main routine
program
Interrupt
program (I0)
Interrupt
program (I29)
Execution Execution Execution
Execution
Execution
IRET
IRET
Occurrence of the
interrupt factor for I0
Occurrence of the
interrupt factor for I29
Time