Programming instructions
24
Intermec Fingerprint 6.13 – Programmer's Guide
4. TERMINOLOGY AND SYNTAX, cont'd.
9. Operators, cont'd.
Logical operators can also be used to mask bits, e.g.:
A%=A% AND 128
The principles are illustrated by the following tables, where A and
B are simple logical expressions.
Logical operator: AND Logical operator: OR
ABA AND BABA OR B
111 111
100 101
010 011
000 000
Logical operator: XOR Logical operator: EQV
ABA XOR BABA EQV B
110 111
101 100
011 010
000 001