For 24362 and 68425, Find BCD Addition
Solution:
`24362+68425` 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 `24362` and `68425` using BCD addition
BCD code for 24362 : | 0010 | 0100 | 0011 | 0110 | 0010 |
BCD code for 68425 : | 0110 | 1000 | 0100 | 0010 | 0101 |
|
Addition : | 1000 | 1100 | 0111 | 1000 | 0111 |
If Invalid BCD then add 6 : | | 0110 | | | |
|
Addition : | 1000 | 10010 | 0111 | 1000 | 0111 |
|
Remaining bits except carry : | 1000 | 0010 | 0111 | 1000 | 0111 |
Carry : | 1 | | | | |
|
Addition : | 1001 | 0010 | 0111 | 1000 | 0111 |
BCD value : | 9 | 2 | 7 | 8 | 7 |
So final answer of BCD addition is `92787`
This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then