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 hexadecimal to binary like this:
7F1616 = 7 F 1 6 = 7(=0111) F(=1111) 1(=0001) 6(=0110) = 1111111000101102
answer: 7F1616 = 1111111000101102
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
7∙163+15∙162+1∙161+6∙160 = 7∙4096+15∙256+1∙16+6∙1 = 28672+3840+16+6 = 3253410
got It: 7F1616 =3253410
Translate the number 3253410 в binary like this:
the Integer part of the number is divided by the base of the new number system:
32534 | 2 | | | | | | | | | | | | | | |
-32534 | 16267 | 2 | | | | | | | | | | | | | |
0 | -16266 | 8133 | 2 | | | | | | | | | | | | |
| 1 | -8132 | 4066 | 2 | | | | | | | | | | | |
| | 1 | -4066 | 2033 | 2 | | | | | | | | | | |
| | | 0 | -2032 | 1016 | 2 | | | | | | | | | |
| | | | 1 | -1016 | 508 | 2 | | | | | | | | |
| | | | | 0 | -508 | 254 | 2 | | | | | | | |
| | | | | | 0 | -254 | 127 | 2 | | | | | | |
| | | | | | | 0 | -126 | 63 | 2 | | | | | |
| | | | | | | | 1 | -62 | 31 | 2 | | | | |
| | | | | | | | | 1 | -30 | 15 | 2 | | | |
| | | | | | | | | | 1 | -14 | 7 | 2 | | |
| | | | | | | | | | | 1 | -6 | 3 | 2 | |
| | | | | | | | | | | | 1 | -2 | 1 | |
| | | | | | | | | | | | | 1 | | |
|
the result of the conversion was:
3253410 = 1111111000101102
answer: 7F1616 = 1111111000101102