Truth Table
The following is the truth table for bitwise operations.
Table 54
Truth Table for Bitwise Operations
A
B
A & B
A | B
A ^ B
~ A
0
0
0
0
0
1
0
1
0
1
1
1
1
0
0
1
1
0
1
1
1
1
0
0