
53
CHAPTER 2 APPLICATION OF PROGRAMMING
2
2.
7
I
n
te
rrupt
P
rogram
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. (
Page 273, Section 5.10) When an
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)
Interrupt pointer
Indicates the end
of the main routine
program.
Main routine
program
Interrupt
program (I0)
Interrupt
program (I29)
An interrupt factor for
I0 occurred.
An interrupt factor for
interrupt program (I29) occurred.
Execution
Execution
Execution
Execution
IRET
Execution
IRET
Time
Summary of Contents for L02CPU
Page 1: ......
Page 2: ......
Page 13: ...11 Memo ...
Page 78: ...76 Memo ...
Page 226: ...224 Memo ...
Page 318: ...316 To the next page ...
Page 320: ...318 To the next page ...
Page 322: ...320 To the next page ...
Page 324: ...322 To the next page ...
Page 326: ...324 To the next page ...
Page 335: ...333 Memo ...
Page 339: ......