1.6k views
2 votes
2. Perform the calculations 11540+5972 in BCD arithmetic.

User Ayala
by
8.0k points

1 Answer

0 votes

Answer:

0001 0110 1110 1011 0010

Explanation:

First decimal number = 11540

second decimal number = 5972

BCD of 0 to 9 decimal number

Decimal number BCD

0 0000

1 0001

2 0010

3 0011

4 0100

5 0101

6 0110

7 0111

8 1000

9 1001

Hence, we can write above two numbers in BCD form as

11540 => 0001 0001 0101 0100 0000

5972 => 0101 1001 0111 0010

So, 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 0

So, the sum of 11540 and 5972 in BCD form is

0001 0110 1110 1011 0010

User Pubudu Jayawardana
by
7.9k points