Example of ERAB
Other bit condition codes
••
RLO Result of logic operation
This is the result of bit logic operations. It is the truth statement for
comparison operations (refer to operations list, binary logic
operations or comparison operations).
••
STA Status
For bit operations, this indicates the logical status of the bit just
scanned or set. The status is updated in binary logic operations -
except for A(, O(,), O and for set/reset operations.
••
OR Or
Internal CPU bit for handling "AND before OR" logic operations.
Word condition codes
••
OV Overflow
This indicates whether the permissible number range was exceeded
during the arithmetic operation just completed.
••
OS Stored overflow
The overflow bit is stored. It can be used in several arithmetic
operations to indicate whether an overflow occurred at any point
during the operations.
:A
I
1.0
ERAB
is set to ’1’,
:
the new RLO is formed by
:
an AND operation
:O
I
6.3
The RLO is influenced by
:
an OR operation
:AN
I
2.1
The RLO is influenced by
:
an AND NOT operation.
:S
Q
2.4
ERAB
is set to ’0’,
:
the sequence is now complete
:JC
FB 150
The function block is called
:
dependent on the RLO.
:
:
STEP 5 Operations with Examples
CPU 948 Programming Guide
C79000-G8576-C848-04
3 - 17
Содержание 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 ...