1
-
3
1.3 Structured Programming
The programs to be executed in the CPU module can be structured in the following two ways.
• In one program
• By dividing into multiple files
(1) Structuring in one program
Structured programming is available by creating one program as a collection of three program sections: main rou-
tine program (
Section 2.2.1), subroutine program (
Section 2.2.2), and interrupt program
(
Note1
Figure 1.4 Structuring in one program
Note1.1
The Basic model QCPU cannot store multiple programs, structured programming by dividing into multiple files is not
available.
Basic
P8
RET
RET
Y10
Y11
Y12
P1
END
FEND
CALL P1
IRET
I0
Main routine
program
Subroutine
program 1
Subroutine
program 2
Interrupt program
Содержание 00JCPU
Страница 1: ......
Страница 2: ......
Страница 96: ...2 51 2 4 5 Character string data 1 Definition The CPU module uses shift JIS code character strings...
Страница 541: ......
Страница 542: ......