Wednesday 22 August 2012

  • Multiply each bit by 2n, where n is the “weight” of the bit 
  • The weight is the position of the bit, starting from 0 on the right 
  • Add the results

 
1010112 =>    
    1 x 20 =    1
  1 x 21 =    2
  0 x 22 =    0
  1 x 23 =    8
  0 x 24 =    0
  1 x 25 =   32
___________________________
               4310 
 

0 comments:

Post a Comment

Blogroll

Blogger templates

About