This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
let\'s do a direct translation from binary to hexadecimal like this:
00010000011111112 = 0001 0000 0111 1111 = 0001(=1) 0000(=0) 0111(=7) 1111(=F) = 107F16
answer: 00010000011111112 = 107F16
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙215+0∙214+0∙213+1∙212+0∙211+0∙210+0∙29+0∙28+0∙27+1∙26+1∙25+1∙24+1∙23+1∙22+1∙21+1∙20 = 0∙32768+0∙16384+0∙8192+1∙4096+0∙2048+0∙1024+0∙512+0∙256+0∙128+1∙64+1∙32+1∙16+1∙8+1∙4+1∙2+1∙1 = 0+0+0+4096+0+0+0+0+0+64+32+16+8+4+2+1 = 422310
got It: 00010000011111112 =422310
Translate the number 422310 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
4223 | 16 | | | |
-4208 | 263 | 16 | | |
F | -256 | 16 | 16 | |
| 7 | -16 | 1 | |
| | 0 | | |
|
the result of the conversion was:
422310 = 107F16
answer: 00010000011111112 = 107F16