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:
00000001111111102 = 0000 0001 1111 1110 = 0000(=0) 0001(=1) 1111(=F) 1110(=E) = 01FE16
answer: 00000001111111102 = 01FE16
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙215+0∙214+0∙213+0∙212+0∙211+0∙210+0∙29+1∙28+1∙27+1∙26+1∙25+1∙24+1∙23+1∙22+1∙21+0∙20 = 0∙32768+0∙16384+0∙8192+0∙4096+0∙2048+0∙1024+0∙512+1∙256+1∙128+1∙64+1∙32+1∙16+1∙8+1∙4+1∙2+0∙1 = 0+0+0+0+0+0+0+256+128+64+32+16+8+4+2+0 = 51010
got It: 00000001111111102 =51010
Translate the number 51010 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
510 | 16 | | |
-496 | 31 | 16 | |
E | -16 | 1 | |
| F | | |
|
the result of the conversion was:
51010 = 1FE16
answer: 00000001111111102 = 1FE16