Advertisement
mkv

binaries

mkv
May 19th, 2011
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. aight, so bits have different powers based on where they're positioned, just like our regular digit system: the 1 in 1000 is a hundred times as valuable as the 1 in 10
  2. the binary system assigns bits powers starting from 1, and from there on it's the last bit multiplied by two
  3.  
  4. 128 64 32 16 8 4 2 1 - values of bits in a "byte"
  5. 1 0 0 1 0 1 0 1 - the number stored in this byte
  6.  
  7. now, we'll simply add up the numbers above each high (1) bit: 128+16+4+1 = 149
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement