Considering 2's complement representation for negative numbers, what is the…
2018
Considering 2's complement representation for negative numbers, what is the decimal equivalent of an 8-bit register content 10000000?
- A.
-0
- B.
+0
- C.
+128
- D.
-128
Attempted by 103 students.
Show answer & explanation
Correct answer: D
In 8-bit two's complement representation, the most significant bit has a negative weight of -128. Since only this bit is set in 10000000, the decimal equivalent is exactly negative one hundred twenty-eight.