Confusing passage from Todd's book. Can anyone explain

in CCNA & CCENT
This is from Chapter 5
The 16 bits (2 bytes) of the configuration register are read from 15 to 0, from left to right. The default configuration setting on Cisco routers is 0x2102. This means that bits 13, 8, and 1 are on, as shown in Table 5.2. Notice that each set of 4 bits (called a nibble) is read in binary with a value of 8, 4, 2, 1
Table 5.2 is attached
My question is how did he get 13, 8 and 1 from 0x2102. Im not being a smarty pants, i truly dont understand how that work
The 16 bits (2 bytes) of the configuration register are read from 15 to 0, from left to right. The default configuration setting on Cisco routers is 0x2102. This means that bits 13, 8, and 1 are on, as shown in Table 5.2. Notice that each set of 4 bits (called a nibble) is read in binary with a value of 8, 4, 2, 1
Table 5.2 is attached
My question is how did he get 13, 8 and 1 from 0x2102. Im not being a smarty pants, i truly dont understand how that work
Comments
-
QHalo Member Posts: 1,488
Configuration register is a hexadecimal code. 2102 if you convert it from Hex to binary is 0010000100000010. Count the positions from right to left starting with 0 and you get 1, 8, 13. He says count left to right and if you do that just count down from 15 to 0. Either way you have to convert it from Hex to binary.