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
Содержание CPU 948
Страница 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Страница 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Страница 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Страница 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Страница 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Страница 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Страница 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Страница 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Страница 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Страница 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Страница 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Страница 404: ...Operations with the Base Address Register BR Register CPU 948 Programming Guide 9 34 C79000 G8576 C848 04 ...
Страница 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Страница 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Страница 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Страница 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Страница 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...