XOR Logical exclusive OR
In this section:
Precedence
6
Description
XOR or the synonym :LEOR:evaluates to 1 (true) if either the left operand or the right operand is non-zero, but to 0 (false) if both operands are zero or both are non-zero. Use XOR to perform logical XOR on its two operands.
Note
The precedence of :LEOR: is 8.
Example
0101B XOR 1010B –> 0 0101B XOR 0000B –> 1