For 983 and 187, Find Excess 3 Addition
Solution:
`983+187` Excess 3 addition
Steps for Excess 3 addition
For `A+B`
1. Add each digit of A and B using binary addition
2. If carry then add it to the next bits and consider this bits as Invalid
3. Add 3 for Invalid bits and subtract 3 for others
Add `983` and `187` using Excess 3 addition
Excess 3 code for 983 : | 1100 | 1011 | 0110 |
Excess 3 code for 187 : | 0100 | 1011 | 1010 |
|
Addition : | 10000 | 10110 | 10000 |
|
Remaining bits except carry : | 10000 | 0110 | 0000 |
Carry : | 1 | 1 | |
|
Addition : | 10001 | 0111 | 0000 |
If carry generated then add 3 otherwise subtract 3 : | -0011 | +0011 | +0011 |
|
Result : | 1110 | 1010 | 0011 |
Decimal value : | 14 | 10 | 3 |
Excess 3 value : | 11 | 7 | 0 |
So final answer of Excess 3 addition is `1170`
This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then