Bitwise Operation
w1 = 0000 0000 0000 1100
w2 = 1111 1111 1101 1101
~w2 = 0000 0000 0010 0010
0000 0000 0000 1100
& 1111 1111 1101 1101
0000 0000 0000 1100
| 1111 1111 1101 1101
0000 0000 0000 1100
^ 1111 1111 1101 1101
AND
OR
Exclusive OR
Previous slide
Next slide
Back to first slide
View graphic version