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:
bc416 = b c 4 = b(=1011) c(=1100) 4(=0100) = 1011110001002
answer: bc416 = 1011110001002
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
the Sign bit is not included in the translation!
3∙162+12∙161+4∙160 = 3∙256+12∙16+4∙1 = 768+192+4 = 96410
Since the number is signed and has a signed bit, the result will have a negative sign
got It: bc416 =-96410
Translate the number -96410 в binary like this:
the Integer part of the number is divided by the base of the new number system:
964 | 2 | | | | | | | | | |
-964 | 482 | 2 | | | | | | | | |
0 | -482 | 241 | 2 | | | | | | | |
| 0 | -240 | 120 | 2 | | | | | | |
| | 1 | -120 | 60 | 2 | | | | | |
| | | 0 | -60 | 30 | 2 | | | | |
| | | | 0 | -30 | 15 | 2 | | | |
| | | | | 0 | -14 | 7 | 2 | | |
| | | | | | 1 | -6 | 3 | 2 | |
| | | | | | | 1 | -2 | 1 | |
| | | | | | | | 1 | | |
|
the result of the conversion was:
-96410 = 11110001002
We found that Your number is negative. For further translation from direct code to additional code, specify the size of the number: (1 byte, 2 bytes, 4 bytes, 8 bytes).
answer: bc416 = 11110001002