In: Electrical Engineering
Add the following BCD numbers, and convert the
obtained BCD result into the
corresponding decimal, and then convert the decimal result into the
corresponding
binary, then compare the number of bits required for binary with
that required for BCD.
(1) 0111 + 0101
(2) 1001 + 0111
(3) 01010001 + 01011000
(4) 010101100001 + 011100001000
Valid BCD are:
0000,00001,0010,0011,0100,0101,0110,0111,1000,1001.
Except above numbers remaining all are invalid BCD.
When invalid BCD Occurs 0110 is added to the result to get the correct BCD value.