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:
1d7f16 = 1 d 7 f = 1(=0001) d(=1101) 7(=0111) f(=1111) = 11101011111112
answer: 1d7f16 = 11101011111112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
1∙163+13∙162+7∙161+15∙160 = 1∙4096+13∙256+7∙16+15∙1 = 4096+3328+112+15 = 755110
got It: 1d7f16 =755110
Translate the number 755110 в binary like this:
the Integer part of the number is divided by the base of the new number system:
7551 | 2 | | | | | | | | | | | | |
-7550 | 3775 | 2 | | | | | | | | | | | |
1 | -3774 | 1887 | 2 | | | | | | | | | | |
| 1 | -1886 | 943 | 2 | | | | | | | | | |
| | 1 | -942 | 471 | 2 | | | | | | | | |
| | | 1 | -470 | 235 | 2 | | | | | | | |
| | | | 1 | -234 | 117 | 2 | | | | | | |
| | | | | 1 | -116 | 58 | 2 | | | | | |
| | | | | | 1 | -58 | 29 | 2 | | | | |
| | | | | | | 0 | -28 | 14 | 2 | | | |
| | | | | | | | 1 | -14 | 7 | 2 | | |
| | | | | | | | | 0 | -6 | 3 | 2 | |
| | | | | | | | | | 1 | -2 | 1 | |
| | | | | | | | | | | 1 | | |
|
the result of the conversion was:
755110 = 11101011111112
answer: 1d7f16 = 11101011111112