Manual

53
[Function] Commands end of subroutine. This is always required at the end of a subroutine. After this, the
program moves to the step after the EXSR called out.
[Example 1] Refer to the EXSR command.
[Function] Commands the start of the subroutine number designated in operand 1.
[Example] Refer to the EXSR command.
noisnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·tuptuO(
dnammoC 1dnarepO 2dnarepO
RSGB.oNenituorbuS
noisnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·troptuptuO(
dnammoC 1dnarepO 2dnarepO
RSDE
[Function] Executes the subroutine number designated in operand 1.
Note: Only a subroutine number within the same program is enabled.
[Example1] EXSR 1 Execute subroutine 1.
:
:
EXIT
BGSR 1 Begin subroutine 1
:
:
:
EDSR End subroutine 1.
[Example 2] LET 1 10 Assign 10 to 1
EXSR *1 Execute subroutine 10 (content of variable 1).
12. SEL Language
BGSR (Begin Subroutine)
EDSR (End Subroutine)
EXSR (Execute Subroutine)
noisnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·tuptuO(
dnammoC 1dnarepO 2dnarepO
RSXE.oNenituorbuS