ChristophX86

Calculator

Sep 7th, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. 0 & 0 = 0
  2. 1 & 0 = 0
  3. 0 & 1 = 0
  4. 1 & 1 = 1
  5.  
  6. 0 ^ 0 = 0
  7. 1 ^ 0 = 1
  8. 0 ^ 1 = 1
  9. 1 ^ 1 = 0
  10.  
  11. A & B = !(!A | !B)
  12. A ^ B = (A | B) & !(A & B)
  13.  
  14. 0 + 0 = 0 0
  15. 1 + 0 = 1 0
  16. 0 + 1 = 1 0
  17. 1 + 1 = 0 1
  18. | \
  19. | -> AND
  20. -> XOR
  21.  
  22. 0 - 0 = 0 0
  23. 1 - 0 = 1 0
  24. 0 - 1 = 1 1
  25. 1 - 1 = 0 0
  26. | \
  27. | -> (!A & B)
  28. -> XOR
Advertisement
Add Comment
Please, Sign In to add comment