For 983 and 187, Find BCD Addition
Solution:
`983+187` BCD addition (Here we have consider this numbers as decimal value)
Steps for BCD addition
For `A+B`
1. Add each digit of A and B using binary addition
2. If sum of two digits is more than 9 then result is Invalid BCD and add 6 to the result, Otherwise result is valid BCD.
3. If carry then add it to the next bits
Add `983` and `187` using BCD addition
BCD code for 983 : | 1001 | 1000 | 0011 |
BCD code for 187 : | 0001 | 1000 | 0111 |
|
Addition : | 1010 | 10000 | 1010 |
If Invalid BCD then add 6 : | 0110 | 0110 | 0110 |
|
Addition : | 10000 | 10110 | 10000 |
|
Remaining bits except carry : | 10000 | 0110 | 0000 |
Carry : | 1 | 1 | |
|
Addition : | 10001 | 0111 | 0000 |
BCD value : | 11 | 7 | 0 |
So final answer of BCD addition is `1170`
This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then