1. For 984 and 599, Find Excess 3 Subtraction using 9's complement
Solution:
`984-599` Excess 3 subtraction using `9's` complement
Steps for Excess 3 subtraction using `9's` complement
For `A-B`
1. Take `9's` complement for B
2. Add it to A using binary addition
3. If carry then add it to the next bits and consider this bits as Invalid
4. Add 3 for Invalid bits and subtract 3 for others
5. In final result, if carry is occured then add it the remaining result and if
there is no any carry over, then take `9's` complement of the result and it is negative.
1. Take `9's` complement for `599`
Note : 9's complement of a number is obtained by subtracting all bits from 999
9's complement of 599 is
2. Add `984` and `400` using Excess 3 addition
Excess 3 code for 984 : | 1100 | 1011 | 0111 |
Excess 3 code for 400 : | 0111 | 0011 | 0011 |
|
Addition : | 10011 | 1110 | 1010 |
If carry generated then add 3 otherwise subtract 3 : | -0011 | -0011 | -0011 |
|
Result : | 10000 | 1011 | 0111 |
Decimal value : | 16 | 11 | 7 |
Excess 3 value : | 13 | 8 | 4 |
The left most bit of the result is 1, called carry and This will be added to `384`.
`384+1=385`
So final answer of Excess 3 Subtraction is `385`
This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then