whiplk

Alocação de bits(bin)

Jul 6th, 2012
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. 2 bits =
  2. {
  3.  
  4. 0 = 00
  5. 1 = 01
  6. 2 = 10
  7. 3 = 11
  8.  
  9. }
  10.  
  11. 3 bits =
  12. {
  13.  
  14. 0 = 000
  15. 1 = 001
  16. 2 = 010
  17. 3 = 011
  18. 4 = 100
  19. 5 = 101
  20. 6 = 110
  21. 7 = 111
  22.  
  23. }
  24.  
  25. 4 bits =
  26. {
  27.  
  28. 0 = 0000
  29. 1 = 0001
  30. 2 = 0010
  31. 3 = 0011
  32. 4 = 0100
  33. 5 = 0101
  34. 6 = 0110
  35. 7 = 0111
  36. 8 = 1000
  37. 9 = 1001
  38. 10 = 1010
  39. 11 = 1011
  40. 12 = 1100
  41. 13 = 1101
  42. 14 = 1110
  43. 15 = 1111
  44.  
  45. }
Advertisement
Add Comment
Please, Sign In to add comment