2.7
Interrupt Program
An interrupt program is from an interrupt pointer (I ) to the IRET instruction.
The interrupt pointer number (I ) varies depending on the interrupt factor. (
interrupt factor occurs, an interrupt program of the interrupt pointer number corresponding to that factor is executed.
(Interrupt program are executed only after the corresponding interrupt factor occurs.)
Main routine
program
Interrupt
program (I0)
Interrupt
program (I29)
Main routine
program
Interrupt
program (I0)
Interrupt
program (I29)
Interrupt pointer
An interrupt factor for
I0 occurred.
Execution
Execution
Execution
IRET
CHAPTER 2 APPLICATION OF PROGRAMMING
Indicates the end
of the main routine
program.
Page 273, Section 5.10) When an
An interrupt factor for
interrupt program (I29) occurred.
Execution
Execution
IRET
Time
2
53