A-71
Appendices
CJ2 CPU Unit Software User’s Manual
A-1 Instruction Functions
App
A-1-31 Block Programming Instructions
CONDI-
TIONAL
BLOCK EXIT
EXIT 806 EXIT(806)
B: Bit operand
Block pro-
gram
Required
CONDI-
TIONAL
BLOCK EXIT
EXIT 806 EXIT(806)B
B: Bit operand
Block pro-
gram
Required
CONDI-
TIONAL
BLOCK EXIT
NOT
EXIT NOT 806 EXIT NOT(806)
B
B: Bit operand
EXIT(806) without an operand bit exits the program if the execu-
tion condition is OFF.
Block pro-
gram
Required
CONDI-
TIONAL
BLOCK
BRANCHING
IF 802 IF (802) Block pro-
gram
Required
CONDI-
TIONAL
BLOCK
BRANCHING
IF 802 IF (802)
B
B: Bit operand
Block pro-
gram
Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
EXIT(806) without an operand bit exits the program if
the execution condition is ON.
Execution condition
Execution
condition
OFF
Execution
condition
ON
"A" executed. "A" executed.
"B" executed.
Block ended.
EXIT(806) without an operand bit exits the program if
the execution condition is ON.
Operand bit
OFF
(ON for
EXIT NOT)
Operand bit ON
(OFF for EXIT
NOT)
"A" executed. "A" executed.
"B" executed.
Block ended.
If the execution condition is ON, the instructions between
IF(802) and ELSE(803) will be executed and if the execution
condition is OFF, the instructions between ELSE(803) and
IEND(804) will be executed.
Execution
condition
Execution
condition ON?
"A" executed
(be-tween IF and
ELSE).
"B" executed
(after ELSE).
If the operand bit is ON, the instructions between IF(802)
and ELSE(803) will be executed. If the operand bit is OFF,
the instructions between ELSE(803) and IEND(804) will be
executed.
Operand bit
ON?
IF R (IF NOT R)
"A" executed
(between IF and
ELSE).
"B" executed
(after ELSE).