how do u convert binary to hex by splitting it into nibbles? stuck in my computing lesson
how do u convert binary to hex by splitting it into nibbles? stuck in my computing lesson
take this binary number
11001110101110111
I am going to split it into groups of 4 from the right
1 1001 1101 0111 0111
1 | 1001 | 1101 | 0111 | 0111 | |
1 | 2^3 + 1 | 2^3+2^2+1 | 2^2+2+1 | 2^2+2+1 | |
digit base 16 | 1 | 9 | D (13base10) | 7 | 7 |
base 10 converion | 1*16^4 | 9^16^3 | 13*16^2 | 7*16 | 7 |
base 10 | 65536 | 36864 | 3328 | 112 | 7 |
Add this altogether and you get
65536+36864+3328+112+7 = 105847
so
110011101011101112=10584710