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:
CAB16 = C A B = C(=1100) A(=1010) B(=1011) = 1100101010112
answer: CAB16 = 1100101010112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
12∙162+10∙161+11∙160 = 12∙256+10∙16+11∙1 = 3072+160+11 = 324310
got It: CAB16 =324310
Translate the number 324310 в binary like this:
the Integer part of the number is divided by the base of the new number system:
3243 | 2 | | | | | | | | | | | |
-3242 | 1621 | 2 | | | | | | | | | | |
1 | -1620 | 810 | 2 | | | | | | | | | |
| 1 | -810 | 405 | 2 | | | | | | | | |
| | 0 | -404 | 202 | 2 | | | | | | | |
| | | 1 | -202 | 101 | 2 | | | | | | |
| | | | 0 | -100 | 50 | 2 | | | | | |
| | | | | 1 | -50 | 25 | 2 | | | | |
| | | | | | 0 | -24 | 12 | 2 | | | |
| | | | | | | 1 | -12 | 6 | 2 | | |
| | | | | | | | 0 | -6 | 3 | 2 | |
| | | | | | | | | 0 | -2 | 1 | |
| | | | | | | | | | 1 | | |
|
the result of the conversion was:
324310 = 1100101010112
answer: CAB16 = 1100101010112