A SERVICE OF

logo

8. Function Commands
CALL, CALLP, RET
- 226 -
{ CALL, CALLP, RET ... Call/return of sub-routine program
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
P
{
2/1
Return of sub-
routine program
RET
P**
Head pointer No. of
sub-routine program
(label)
sub-routine
program
Setting data
P**
Head pointer No. of sub-routine
program (P0 to P249)
Call of sub-routine
program
CALL
P**
CALL
Sub-routine execution command
CALLP
P**
CALLP
Function
CALL
CALLP
(1) The sub-routine program designated with the point (P**) is executed.
CALL
P12
CALL P11
FEND
X0
CALL
P10
P11
RET
P10
…… ……