why does 55 in hex show as FF when FxF would mean 16x16 which is 256?
Lets see
\(55_{10}=5*10+5\\ F_{16}=15_{10}\\ 10_{16}=(1*16)_{10}=16_{10}\qquad \text {Because the} \textbf{ place value } \text{of the 1 is 16}\\ F0_{16}=(15*16)_{10}=240\\ FF_{16}=(15*16+15)_{10}=255\\ \)
\(55_{16}=(5*16+5)_{10}=85_{10}\)
counting
base 10 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
hexidecimal (base 16) | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | 10 | 11 | 12 | 13 |
I think you may mean "255" rather than "55" .....Remember that FF16 means 15(16)^1 + 15(16)^0 = 15*16 + 15*1 =
240 + 15 = 255
"55" in hex would be represented as 3716 = 3(16)^1 + 7 (16)^0 = 48 + 7 = 55
why does 55 in hex show as FF when FxF would mean 16x16 which is 256?
Lets see
\(55_{10}=5*10+5\\ F_{16}=15_{10}\\ 10_{16}=(1*16)_{10}=16_{10}\qquad \text {Because the} \textbf{ place value } \text{of the 1 is 16}\\ F0_{16}=(15*16)_{10}=240\\ FF_{16}=(15*16+15)_{10}=255\\ \)
\(55_{16}=(5*16+5)_{10}=85_{10}\)
counting
base 10 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
hexidecimal (base 16) | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | 10 | 11 | 12 | 13 |