3.5.4
Executive Operations The executive operations also include system operations.
Caution
System operations should only be used with great care and then
only by experienced programmers familiar with the system.
System operations are indicated in the table by
Jump operations
When you use the supplementary jump operations, you indicate the
jump destination for unconditional jumps symbolically. The symbolic
parameter of the jump operation is identical to the symbolic address of
the destination statement. When programming, remember that the
absolute jump distance should not exceed ± 127 words and a STEP 5
statement can consist of more than one word. You can only execute
these jumps within a block; jumps over segment boundaries are not
permitted ("segment" = structural element in PBs, SBs, FBs, FXs and
OBs; see PG description).
Note
The jump statement and jump destination (symbolic address) must
be in the same segment. A symbolic address can only be used
once per segment.
Exception: this does not apply to the JUR jump for which you
specify an absolute jump distance as the parameter.
Operation Operand Function
JU =
JC =
JZ =
addr
( addr =symbolic
address with
maximum
4 characters)
Jump unconditionally:
The jump is executed regardless of conditions
Jump conditionally:
the conditional jump is executed only if the RLO is 1.
If the RLO is 0, the statement is not executed and the RLO
is set to 1.
Jump if result is ’0’ :
the jump is executed only if CC 1 is 0 and CC 0 is 0.
The RLO is not changed.
S
Table 3-21 Jump operations
Executive Operations
CPU 948 Programming Guide
C79000-G8576-C848-04
3 - 59