Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (20 sloc) 394 Bytes

NOT ~

~ 0111      
= 1000      

OR |

  0010      
| 1000      
= 1010      

XOR ^

  0010      
^ 1010      
= 1000      

AND &

  0101      
& 0011      
= 0001      

Shifts

0011 << 1
0110

0110 >> 1
0011