The result of BINEQV(A,B) is calculated by converting A and B to integer values. Then each bit of the result is set to 1 if the corresponding bits in A and B are equal. This table illustrates this relationship.
A
B
BINEQV(A,B)
0
0
1
0
1
0
1
0
0
1
1
1
The following example performs a bit by bit equivalence of 12 and 6: