SOLUTION: Assuming 2’s complement 8-bit representation, consider the following: +70 = 010001102 +80 = 010100002 100101102 Is this correct? Why or why not?

Algebra ->  Decimal-numbers -> SOLUTION: Assuming 2’s complement 8-bit representation, consider the following: +70 = 010001102 +80 = 010100002 100101102 Is this correct? Why or why not?      Log On


   



Question 540587: Assuming 2’s complement 8-bit representation, consider the following:
+70 = 010001102
+80 = 010100002
100101102 Is this correct? Why or why not?

Answer by Alan3354(69443) About Me  (Show Source):
You can put this solution on YOUR website!
There are no 2's in binary.
------------------
If the 70 & 80 are Hex numbers:
70 = 0111 0000 --> 1's comp = 1000 1111 --> 2's comp = 1001 0000
80 = 1000 0000 --> 1's comp = 0111 1111 --> 2's comp = 1000 0000
-------------
If they're decimal:
70 = 46H = 0100 0110 --> 1's comp = 1011 1001 --> 2's comp = 1011 1010
80 = 50H = 0101 0000 --> 1's comp = 1010 1111 --> 2's comp = 1011 0000