Conversion Method:
- Sign Bit: The leftmost bit (most significant bit [MSB]) is 1, indicating a negative number.
- Most Significant bit is -128. all others are positive.
- signed negative values are between 0 and -127
- In binary this is between 00000000 and 11111111
- to convert from binary to denary, assign bits to values.
- Add values that are indicated by 1
- Calculate Negative Denary Value
Example:
Convert the 2's complement 8-bit negative binary number 11011011 to its negative denary value.
- MSB = 1, indicating a negative number.
- Most Significant bit is -128. all others are positive.
- Assign bits to values. e.g. -128 = 1, +64 = 1,+32 = 0 etc.
- Add values that are indicated by 1 e.g. -128 + 64 + 16 etc.
- Calculate Negative Denary Value: Converting 11011011 to denary, we get:
| Powers of 2 |
-27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
| Denary |
-128 |
+64 |
+32 |
+16 |
+8 |
+4 |
+2 |
+1 |
| Values |
1 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
- = -128 + 64 + 16 + 8 + 2 + 1
- = -37
So, the negative denary value of the 2's complement 8-bit negative binary number 11011011 is -37.