Subtractor
A subtractor is a digital logic circuit that performs subtraction of binary numbers. It is the counterpart of an adder and is used in arithmetic units of processors and other digital systems. The circuit takes one or more minuend bits, subtrahend bits, and, for multi-bit subtraction, a borrow input, and outputs a difference bit along with a borrow signal.
The basic building blocks are the half subtractor and the full subtractor. A half subtractor accepts two
Implementation and variations: In hardware, subtractors are built from logic gates. They can also perform subtraction
Analog subtractors: In analog electronics, subtractor circuits using operational amplifiers create a difference between two input
See also: adder, arithmetic logic unit, two's complement, differential amplifier.