1b. BCD Addition
1b. BCD Addition
BCD Addition
M. Morris Mano
Edition 5
BCD ADDITION
Consider the addition of two decimal digits in BCD : (digits in BCD range from 0 to 9)
4 0100 (BCD Code) Since each digit in BCD does not exceed 9,
8 1000 (BCD Code) so, when the binary sum is greater than 1001,
--- -------- the result is an invalid BCD digit
12 1100 Binary Sum
(Invalid BCD digit)
BCD ADDITION
Consider the addition of two decimal digits in BCD : (digits in BCD range from 0 to 9)
In case of wrong answer, the addition of 6 to the binary sum converts it to the correct digit
BCD ADDITION
The addition of two n‐digit unsigned BCD numbers follows the same procedure.
Incorrect
Answer
BCD ADDITION
The addition of two n‐digit unsigned BCD numbers follows the same procedure.
1
0001 1000 0100 184
0101 0111 0110 576
-------- -------- -------- ------
1 0000 1010 760
0110
--------
0000
Incorrect
Answer
BCD ADDITION
The addition of two n‐digit unsigned BCD numbers follows the same procedure.
1
0001 1000 0100 184
0101 0111 0110 576
-------- -------- -------- ------
1 0000 1010 760
0110 0110
----------- --------
1 0110 0000
Incorrect
Answer
BCD ADDITION
The addition of two n‐digit unsigned BCD numbers follows the same procedure.
1 1
0001 1000 0100 184
0101 0111 0110 576
-------- -------- -------- ------
0111 1 0000 1010 760
Correct 0110 0110
Answer ----------- --------
0110 0000
Incorrect
Answer
BCD ADDITION
The addition of two n‐digit unsigned BCD numbers follows the same procedure.
1 1
0001 1000 0100 184
0101 0111 0110 576
-------- -------- -------- ------
0111 1 0000 1010 760
0110 0110
----------- --------
0110 0000
7 6 0