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