Discuss Forum
1. If a processor has 8-bit register,what is the value of (11111111)2 represented in 2's com plement form?
- A. 255
- B. 255
- C. 255
- D. 255
Answer: Option B
Explanation:
In an 8-bit, 2's complement system, the binary value (11111111)2 represents the decimal number-1.
Step-by-step calculation To find the decimal value of a 2's complement number, you can use the following steps:
Step-by-step calculation To find the decimal value of a 2's complement number, you can use the following steps:
- Since the most significant bit (MSB), the leftmost bit, is 1, the number is negative.
- Find the 2's complement of the binary number to determine its magnitude.
- Add the negative sign.
Post your comments here: