Find the word definition

Wiktionary
subtractor

n. (alternative spelling of subtracter English)

Wikipedia
Subtractor

In electronics, a subtractor can be designed using the same approach as that of an adder. The binary subtraction process is summarized below. As with an adder, in the general case of calculations on multi-bit numbers, three bits are involved in performing the subtraction for each bit of the difference: the minuend (X), subtrahend (Y), and a borrow in from the previous (less significant) bit order position (B). The outputs are the difference bit (D) and borrow bit B. The subtractor is best understood by considering that the subtrahend and both borrow bits have negative weights, whereas the X and D bits are positive. The operation performed by the subtractor is to rewrite X − Y − B (which can take the values -2, -1, 0, or 1) as the sum  − 2B + D.


D = X ⊕ Y ⊕ B


B = X < (Y + B)

Subtractors are usually implemented within a binary adder for only a small cost when using the standard two's complement notation, by providing an addition/subtraction selector to the carry-in and to invert the second operand.


 − B =  + 1
(definition of two's complement negation)


$$\begin{alignat}{2} A - B & = A + (-B) \\ & = A + \bar{B} + 1 \\ \end{alignat}$$