# What is Binary Adder & Subtractor

In digital circuits, binary adder & subtractor is used to add and subtract binary numbers. The operation of this circuit mainly depends on the binary value. Here the control signal in the circuit holds the binary value. It is one of the components of the arithmetic logic unit. This circuit needs prerequisite information on half adder, full adder, binary addition & subtraction. At a time it is also possible to design a circuit for performing both the addition as well as subtraction. This article discusses an overview of the binary adder and binary subtractor.

An overview of binary adder & subtractor mainly discusses binary addition circuits, binary adder (half-adder & full adder), parallel binary adders, binary subtraction circuits, binary subtractor (half subtractor & full subtractor) and parallel binary subtractor.

In digital circuits, the binary addition’s arithmetic operation can be performed using logic gates. For that, a two-input logic gate is used and it is slightly dissimilar to the OR gate. An OR gate adds two integers and generates one output when the two inputs are 1. But, an OR gate does not attain the binary addition due to the separate operation when we compare it with the Exclusive-OR gate. In the inclusive-OR gate, it includes three o/ps which are added to generate the total sum. Now, we can compare these two gates with each other.

The major difference between these two logic gates mainly includes OR gate performs the addition of integers whereas the Ex-OR gate performs the binary operation.

A Binary Adder is one kind of digital circuit mainly used for executing the arithmetic operation of two binary numbers like addition. The binary adder can be designed with full adder circuits by connecting them in series. The output carry of a first full adder is connected to the input of the second full adder. These circuits are categorized into a half adder, full adder & parallel adders.

A half adder is one kind of electronic circuit used to perform the addition of two binary numbers. The half adder adds two binary digits and generates two outputs like the output and carries value. The inputs of the half adder are A & B whereas the outputs are the sum and carry. The general representation utilizes logic gates like an AND gate & an XOR logic gate.

A full adder is one kind of electronic circuit used to perform the addition of three binary numbers. The full adder adds three binary digits and generates two outputs like the output and carries value. The inputs of the half adder are A, B, and Cin whereas the outputs are sum and Cout. A full adder is the combination of two half adders where the logic gates like an AND & XOR gates are connected through an OR gate. Please refer to this link to know more about Half Adder and Full Adder.

Parallel binary adders are combinational circuits designed with various full adders which are connected in parallel. In a parallel binary adder, the no. of full adders mainly depends on the no. of bits there in the addition.

The designing of a parallel binary adder can be done using logic gates. The associate modules within the logic circuit will look like the logic circuit of the two adders like half adder & full adder.

### Binary Subtraction Circuits

Subtraction is an arithmetical function where one digit is subtracted from another digit to attain equal quantity. The digit from which another digit is to be subtracted is known as minuend. Similarly, the number which is subtracted from the minuend is known as a subtrahend. Same as to the binary addition, this also includes 4- feasible alternative operations where each subtrahend bit can be subtracted from the minuend bit.

However in the 2nd rule, the bit of minuend is lesser compared with the bit of subtrahend, therefore 1 is on loan to complete the subtraction. Related to the adder circuits, these circuits are also categorized like half subtractor, full subtractor & parallel subtractor.

### Half Subtractor

The combinational logic circuit] like half subtractor is used to subtract two single bit digits. It includes two inputs as well as two outputs. The inputs are A, B whereas the outputs are borrow and difference. Please refer to this link to know more about Half subtractor.