Operand substitution with binary operations
For operand substitutions with binary operations you can use the
following operand types: inputs, outputs, F flags, S flags, timers and
counters.
In this substitution, the structure of the F flag word or data word
(parameter word) depends on the operation you are using.
Parameter word for inputs and outputs
Bit no.
15
11 10
8
7
6
0
no significance
Bit address
from 0 to 7
0
Byte address from 0 to 127
Examples of operand substitution continued:
3.
Jump distributor for subroutine techniques:
:DO
FW 5
:JU
=M001
Contents of flag word FW 5:
+
:JU
=M002
Jump
:JU
=M003
jump distance
distance
:JU
=M004
(maximum
±
127)
:JU
=M005
: .
: .
M001
: .
: .
:BEU
M002
: .
Advantage:
: .
all program sections are
:BEU
contained in
one
block.
M003
: .
: .
:BEU
4.
Jump distributor for block calls:
:DO
FW 10
Contents of flag word FW 10:
:JU
PB 0
PB 0
PB 1
Block no. x
PB 2
PB 3
.
.
PB x
Executive Operations
CPU 948 Programming Guide
C79000-G8576-C848-04
3 - 69
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...