XOR Logical exclusive OR
In this section:
Precedence
13
Description
XORevaluates 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.
Example
0101B XOR 1010B –> 0 0101B XOR 0000B –> 1