Subtractors

1 min read Updated Fri Apr 24 2026 09:03:07 GMT+0000 (Coordinated Universal Time)

A digital circuit that does the operation ABA-B. The operation can be done by negating BB and then adding it to AA.

The circuit consists of an inverter and a full adder with C_0 set to 1.

Adder-Subtractor

A digital circuit that can do both addition and subtraction. A control signal is used to switch between the operations.

4-bit Adder-Subtractor

In the above example, MM is the control. When M=0M=0, it works as an adder. Otherwise it works as a subtractor.