FIT100
Binary Numbers
Given a binary number, add up the powers of 2 corresponding to 1s
*1010 0000
– 0x20 = 0x1 = 0
– 0x21 = 0x2 = 0
– 0x22 = 0x4 = 0
– 0x23 = 0x8 = 0
– 0x24 = 0x16 = 0
– 1x25 = 1x32 = 32
– 0x26 = 0x64 = 0
– 1x27 = 1x128 = 128
– = 160