< previous page page_454 next page >

Page 454
1 * 16 = 16
0 * 32 = 0
1 * 64 = 64
1 * 128 = 128
1 * 256 = 256
0 * 512 = 0
0 * 1024 = 0
0 * 2048 = 0
1 * 4096 = 4,096
1 * 8192 = 8,192
0 * 16384 = 0
1 * 32768 = 32,768
Total 45,527
Converting this to hexadecimal requires a chart with the hexadecimal values.
65535 4096 256 16 1
There are no 65,536s in 45,527 so the first column is 4,096. There are 11 4096s (45,056), with a remainder of 471. There is one 256 in 471 with a remainder of 215. There are 13 16s (208) in 215 with a remainder of 7. Thus, the hexadecimal number is B1D7.
Checking the math:
B (11) * 4096 = 45,056
1 * 256 = 256
D (13) * 16 = 208
7 * 1 = 7
Total 45,527
The shortcut version would be to take the original binary number, 1011000111010111, and break it into groups of 4: 1011 0001 1101 0111. Each of the four then is evaluated as a hexadecimal number:
1011 =
1 * 1 = 1
1 * 2 = 2
0 * 4 = 0
1 * 8 = 8
Total 11

 
< previous page page_454 next page >

If you like this book, buy it!