## How will you perform BCD subtraction give example?

Examples given below would make the idea clear of BCD Subtraction. In this example 0010 0001 0110 is subtracted from 0101 0100 0001. At first 1’s compliment of the subtrahend is done, which is 1101 1110 1001 and is added to 0101 0100 0001. This step is called adder 1.

## What are the rules for BCD subtraction using 9’s and 10’s complements?

Steps for BCD subtraction using 10′s complement

- Take 10′s complement for B.
- Add it to A using BCD addition.
- If addition is invalid BCD then add 6.
- If carry then add it to the next bits.
- In final result, if carry is occured then it is ignored and if.

**What complementation is used in BCD subtraction?**

The BCD Subtraction using 10s Complement can be used to perform subtraction by adding the minuend to the 10s Complement of the subtrahend and dropping the carry.

**What is BCD subtractor?**

A subtractor circuit is required to perform a subtraction operation on two decimal numbers. BCD subtraction is slightly different from BCD addition. Performing subtraction operation by taking the 9’s or 10’s complement of the subtrahend and adding it to the minuend is economical.

### How do you do BCD addition?

BCD addition of given Decimal numbers

- Input: A = 12, B = 20.
- Output: 110010.
- Explanation: The summation of A and B is 12 + 20 = 32. The binary representation of 3 = 0011. The binary representation of 2 = 0010. Therefore, the BCD Addition is “0011” + “0010” = “110010”

### What is the 9’s and 10’s complement of decimal number 360?

Now coming to 10’s complement, it is relatively easy to find out the 10’s complement after finding out the 9’s complement of that number. We have to add 1 with the 9’s complement of any number to obtain the desired 10’s complement of that number….10’s complement subtraction.

Decimal digit | 9s complement |
---|---|

7 | 2 |

8 | 1 |

9 | 0 |

**Which instruction is used to get the subtraction of BCD number?**

To subtract two BCD numbers, we are going to use the 10s complement method. Taking the first number and storing into B, Load 99 into A then subtract the number to get the 9’s complement. After that add 1 with the result to get 10’s complement. We cannot increase using INR instruction.

**What is the 9s complement of number 456?**

543

For example, let us take a decimal number 456, 9’s complement of this number will be 999-456 which will be 543.

## Which instruction is used to get the subtraction of BCD numbers in 8086?

Problem – Write a program in 8086 microprocessor to find out the Subtraction of two 8-bit BCD numbers, where numbers are stored from starting memory address 2000 : 500 and store the result into memory address 2000 : 600 and carry (borrow) at 2000 : 601….Program –

MEMORY ADDRESS | MNEMONICS | COMMENT |
---|---|---|

417 | HLT | END |

## How to do BCD subtraction in 9’s compliment method?

In 2 nd method we will do BCD subtraction in 9’s compliment method. Here the method is very simple. At first the decimal equivalent of the given Binary Coded Decimal (BCD) codes are found out. Then the 9’s compliment of the subtrahend is done and then that result is added to the number from which the subtraction is to be done.

**What is BCD addition with example?**

Now the idea of BCD Addition can be cleared from two more examples. Let, 0101 is added with 0110. Check your self. Now let 0001 0011 is added to 0010 0110. So no need to add 6 as because both are less than (9) 10. This is the process of BCD Addition. There are several methods of BCD Subtraction.

**Is there any arithmetical operation in BCD?**

Like other number system in BCD arithmetical operation may be required. BCD is a numerical code which has several rules for addition. The rules are given below in three steps with an example to make the idea of BCD Addition clear.

### What is the value of BCD subtract from 29?

In this result the MSB i.e 1 is the carry. This carry will be added to 29. Therefore 29 + 1 = 30, which is the final answer of BCD Subtraction.