XOR : Exclusive OR Logic Operation
Parameter | Data Type | Memory Area | Description |
<address> | BOOL | I, Q, M, T, C, D, L | The address indicates the bit whose signal state will be checked. |
Description
With the Exclusive OR instruction, you can check the result of a signal state check according to the Exclusive OR truth table.
With an Exclusive OR logic operation, the signal state is 1 when the signal state of one of the two specified addresses is 1. You can also use the Exclusive OR
function several times. The mutual result of logic operation is then "1" if an impair
number of checked addresses is "1".
Status Word
| BR | CC 1 | CC 0 | OV | OS | OR | STA | RLO | FC |
writes | - | - | - | - | - | X | X | X | 1 |
0 comments:
Post a Comment