NOT
a
!a
0
1
1
0
AND
a
b
a&b
0
0
1
1
0
1
0
1
0
0
0
1

 
OR
a
b
a|b
0
0
1
1
0
1
0
1
0
1
1
1
XOR
a
b
a^b
0
0
1
1
0
1
0
1
0
1
1
0
IMP
a
b
a>b
0
0
1
1
0
1
0
1
1
1
0
1
EQU
a
b
a=b
0
0
1
1
0
1
0
1
1
0
0
1