Call – Delta Electronics Extension Digital I/O Module DOP-EXIO14RAE User Manual
Page 86

Appendix D Use of Application Instructions|DOP-EXIO Series
Revision March, 2008, Doc. Name: 2007PDD23000014
D-5
Mnemonic
Operands Function
CALL
S
Call Subroutine
Bit Devices
Word Devices
X Y M S K H
KnX
KnY
KnM KnS
T
C
D
E
F
y
Note:
1. Operand S can designate P.
2. P can be modified by index register E, F.
16-bit instruction (3 Steps)
CALL
Continuous
execution
32-bit instruction
- -
- -
y
Flags: None
Operands:
S
: The pointer of call subroutine.
Explanations:
1. Edit the subroutine designated by the pointer after FEND instruction.
2. The number of pointer P, when used by CALL, cannot be the same as the number designated by
CJ instruction.
3. If only CALL instruction is in use, it can call subroutines of the same pointer number with no limit
on times.
4. Subroutine can be nested for 5 levels including the initial CALL instruction. (If entering the sixth
level, the subroutine won’t be executed.)