Part 4 Commands
EXSR (Execute subroutine)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Output
(Output, flag)
Operand 1 Operand 2
Optional Optional EXSR
Subroutine
number
Prohibited CP
Execute the subroutine specified in operand 1.
A maximum of 15 nested subroutine calls are supported.
This command is valid only for subroutines within the same program.
Execute the content of variable 1 (subroutine 10).
BGSR (Start subroutine)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Output
(Output, flag)
Operand 1 Operand 2
Prohibited Prohibited BGSR
Subroutine
number
Prohibited CP
Declare the start of the subroutine specified in operand 1.
Refer to the section on EXSR command.
Using a GOTO command to branch out of or into a BGSR-EDSR syntax is prohibited.
Commentaires sur ces manuels