4 Excess Notation and Signed 2s Complement Addition and Subtraction
4 Excess Notation and Signed 2s Complement Addition and Subtraction
4 2 1
1 0 0
Excess-4 needs only 3 bits
n= 3 16 8 4 2 1
32 16 8 4 2 1
the range of excess-32
[ -32 , +31] n = 6 bits
How to convert from excess notation to its equivalent
decimal and vice versa?
Excess "Binary"
+notation -notation
Decimal
Ex.1 3 bits
Convert the number (1 0 1) to its equivalent decimal
2
value using excess-4.
n = 3 bits
notation = 4
4 2 1
4 21
101-4 n-1 3-1 2
notation = 2 =2 =2
5 - 4 = ( +1)
10 =4
Ex.2 Convert the decimal number ( + 7) to its equivalent value in
10
the Excess form in 4 bits.
8 n = 4 bits
8 4 2 1
+7 + 8 = 15
1111) 1 1 1 1
2
Signed 2's complement Addition and Subtraction
Ex.
Ans.
[ - (2n-1)10 , + (2n-1 – 1)10 ] = [ -8 , + 7] in 4 bits
7= 0 1 1 1
(-2) - (- 5)
(2)
1
- 0010 1110 >> 2's complement
- 2 +
0101
+5 + 0101
1 0 01 1
+3
- 0111
n = 4 bits
[ -8 , + 7]