EQV Operator
EQV Operator
Syntax
result = numeric-expression1 EQV numeric-expression2
Use the logical-equivalence operator to compare corresponding bits in
numeric-expression1 and numeric-expression2, and then set the corresponding
bit in the result according to the following table:
──────────────────────────────────────────────────────────────────
Bit in First Expression Bit in Second Expression Bit in Result
──────────────────────────────────────────────────────────────────
1 1 1
1 0 0
0 1 0
0 0 1
──────────────────────────────────────────────────────────────────