Exam-style question
Try this first
An 8-bit register contains the binary value 01111111. If this represents a signed integer using Two's Complement, what denary value does it hold?.
- A.127
- B.255
- C.-1
- D.-127
Answer and explanation
Concise answer
127
Why this is correct
As the MSB is 0, it's a positive number. Summing the remaining bits 64 + 32 + 16 + 8 + 4 + 2 + 1 gives 127.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
