10 DEVICES
10.9 Pointers
10 - 45
(1) Definition
Pointer devices are used in jump instructions (CJ, SCJ, JUMP) or sub-routine call
instructions (CALL, ECALL).
A total of 300 pointers can be used.
(2) Pointer applications
(a)
Pointers are used in jump instructions (CJ, SCJ, JMP) to designate jump
destinations and labels (jump destination beginning).
(b)
Pointers are used in sub-routine CALL instructions (CALL, CALLP) to
designate the CALL destination and label (sub-routine beginning).
P0
REMARK
For further information on jump instructions and sub-routine call instructions, see the
QCPU (Q Mode)/QnACPU Programming Manual (Common Instructions).
MAIN
CALL P0
FEND
RET
END
MELSEC-Q
10 - 45