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:
3d8a16 = 3 d 8 a = 3(=0011) d(=1101) 8(=1000) a(=1010) = 111101100010102
answer: 3d8a16 = 111101100010102
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
3∙163+13∙162+8∙161+10∙160 = 3∙4096+13∙256+8∙16+10∙1 = 12288+3328+128+10 = 1575410
got It: 3d8a16 =1575410
Translate the number 1575410 в binary like this:
the Integer part of the number is divided by the base of the new number system:
15754 | 2 | | | | | | | | | | | | | |
-15754 | 7877 | 2 | | | | | | | | | | | | |
0 | -7876 | 3938 | 2 | | | | | | | | | | | |
| 1 | -3938 | 1969 | 2 | | | | | | | | | | |
| | 0 | -1968 | 984 | 2 | | | | | | | | | |
| | | 1 | -984 | 492 | 2 | | | | | | | | |
| | | | 0 | -492 | 246 | 2 | | | | | | | |
| | | | | 0 | -246 | 123 | 2 | | | | | | |
| | | | | | 0 | -122 | 61 | 2 | | | | | |
| | | | | | | 1 | -60 | 30 | 2 | | | | |
| | | | | | | | 1 | -30 | 15 | 2 | | | |
| | | | | | | | | 0 | -14 | 7 | 2 | | |
| | | | | | | | | | 1 | -6 | 3 | 2 | |
| | | | | | | | | | | 1 | -2 | 1 | |
| | | | | | | | | | | | 1 | | |
|
the result of the conversion was:
1575410 = 111101100010102
answer: 3d8a16 = 111101100010102