Chapter 7 Second Development PlatformVP3000
293
7-2-4 Instructions of application instructions
Instruction codes can be divided into 16-bit and 32-bit instructions. We prefix "D” to instruction
code to indicate 32-bit instruction, and suffix “P” to instruction code to indicate a pulse executing
instruction.
API Instruction code Operand Function
01 CALL P S Call subprograms
Type
Operand
Bit devices Word devices
16-bit instruction (3 steps)
CALL
Continuous
execution
type
CALLP
Pulse
execution
type
32-bit instruction
- - - -
Associated flag: none
X Y M K H KnX KnY KnM T C D
Caution for using operand
Operand S can assign P
Operand S of VP3000 can assign P0–P63
Description
S: the pointer of the call subprogram
Subprogram must be placed after FEND instruction.
Subprogram must end with SRET instruction.
Refer to the description and example of FEND instruction for more details.