WXOR s1, s2, d
DWXOR s1, s2, d
These commands logically XOR s1 and s2 and store the result in d. WXOR divides word values and DWXOR divides double word values.
P | M | F | S | C | T | D | Constants | |
---|---|---|---|---|---|---|---|---|
s1 | O | O | O | O | ||||
s2 | O | O | O | O | ||||
d | O | O | O |
The following is result of above LADDER:
When you want to invert specific bits, you can use XOR logical operation.