Q:

2. Perform the calculations 11540+5972 in BCD arithmetic.

Accepted Solution

A:
Answer:0001 0110 1110 1011 0010Step-by-step explanation:First decimal number = 11540second decimal number = 5972BCD of 0 to 9 decimal numberDecimal number                               BCD        0                                                  0000        1                                                    0001        2                                                   0010        3                                                   0011        4                                                   0100        5                                                   0101        6                                                   0110        7                                                    0111        8                                                    1000        9                                                    1001Hence, we can write above two numbers in BCD form as11540 => 0001 0001 0101 0100 00005972 => 0101 1001 0111 0010So, sum of 11540 and 5972 in BCD form can be given by        0001 0001 0101 0100 0000         +       01 01 1001 01 11  001 0       0001  01 10 11 10 10 11  001 0So, the sum of 11540 and 5972 in BCD form is                   0001 0110 1110 1011 0010