10
- 91
10.10 Pointer (P)
10
DEVICE EXPLANATION
10.10 Pointer (P)
(1) Definition
Pointer devices are used in jump instructions (CJ, SCJ, JUMP) or subroutine call
instructions (CALL).
(2) Pointer applications
The pointers can be used in the following applications.
• Pointers are used in jump instructions (CJ, SCJ, JMP) to designate jump
destinations and labels (jump destination beginning).
• Pointers are used in subroutine CALL instructions (CALL, CALLP) to designate
the CALL destination and label (subroutine beginning).
(3) Pointer types
(a) Basic model QCPU
Since the Basic model QCPU cannot execute multiple programs, it is irrelevant to
the difference between local pointers and common pointers.
(b) High Performance model QCPU, Process CPU, Redundant CPU, Universal
model QCPU
There are the following two different pointer types.
• Local pointer (
Pointer used independently in each program.
• Common pointer (
Pointer that can be called by all executed programs using the subroutine call
instruction.
Figure 10.84 Program using pointer
P0
CALL P0
FEND
RET
END