https://binary2hex.com/numberconverter.html?id=187211

Transfer 999 from hexadecimal in binary number system

Enter a number:
His number system:
Binary
Ternary
Octal
Decimal
Hexadecimal
Binary-decimal
Other
Additional
Signed
Direct
One complement
Two complement
Unsigned
1 byte
2 byte
4 bytes
8 bytes

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:

99916 = 9 9 9 = 9(=1001) 9(=1001) 9(=1001) = 1001100110012

the Final answer: 99916 = 1001100110012

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!

1∙162+9∙161+9∙160 = 1∙256+9∙16+9∙1 = 256+144+9 = 40910

Since the number is signed and has a signed bit, the result will have a negative sign

got It: 99916 =-40910

Translate the number -40910 в binary like this:

the Integer part of the number is divided by the base of the new number system:

4092
-4082042
1-2041022
0-102512
0-50252
1-24122
1-1262
0-632
0-21
1
Перевод чисел из одной системы счисления в другую

the result of the conversion was:

-40910 = 1100110012

You specified the size of your number 8 byte.

Add a signed bit to the number like this:

1100110012 = 10000000000000000000000000000000000000000000000000000001100110012

Since the number you entered is negative, you need to translate it from the direct code to the additional one.

to do this, first perform the conversion from direct code to reverse by inverting all bits except the signed one, then get the direct code by adding 1 bit.

1000000000000000000000000000000000000000000000000000000110011001  direct code
1111111111111111111111111111111111111111111111111111111001100110 reverse code
+1 +1 bit
1111111111111111111111111111111111111111111111111111111001100111 additional code
the Final answer: 99916 = 11111111111111111111111111111111111111111111111111111110011001112 (8 byte)
Permanent link to the result of this calculation