3
- 14
3.1 Sequence Program
3.1.3 Interrupt programs
3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
(2) IInterrupt program management
Interrupt programs are created after the main routine program (after the FEND
instruction).
The interrupt programs can also be managed as a single program.
(a) Creating interrupt programs after main routine program
1) Location of creating interrupt programs
Create interrupt programs between the FEND and END instructions of the
main routine program.
Note9
2) Restrictions on creation order
When creating multiple interrupt programs, it is not necessary to set the
interrupt pointer numbers in ascending order.
Figure 3.11 Interrupt programs
Note9
Basic
Note3.9
IRET
IRET
IRET
I32
Y11
Y10
I0
Y12
I28
END
FEND
Program A
Main routine
program
Interrupt
program
Interrupt pointer
Write
File of
program A
Since the Basic model QCPU cannot execute
multiple programs, the file name is fixed to
"MAIN".
Basic
IRET
IRET
IRET
I32
Y11
Y10
I0
Y12
I28
END
FEND
Main routine
program
MAIN
File name is fixed to "MAIN".
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......