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:
7F16 = 7 F = 7(=0111) F(=1111) = 11111112
answer: 7F16 = 11111112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
7∙161+15∙160 = 7∙16+15∙1 = 112+15 = 12710
got It: 7F16 =12710
Translate the number 12710 в binary like this:
the Integer part of the number is divided by the base of the new number system:
127 | 2 | | | | | | |
-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:
12710 = 11111112
answer: 7F16 = 11111112