AddierSubtrahierEinheit
The AddierSubtrahierEinheit, literally “Addition-Subtraction Unit” in German, is a modular digital circuit used to perform binary addition and subtraction on fixed-width operands. It is a common component of arithmetic logic units (ALUs) in CPUs and microcontrollers. The unit accepts two n-bit inputs, A and B, a mode control M (0 for addition, 1 for subtraction), and an optional carry-in.
In addition mode, the unit computes S = A + B with Cin typically set to 0. In subtraction
Typical implementations use a conventional n-bit adder as the core. B is selected as B' = B XOR
Used in digital processors, embedded systems, and DSPs, the AddierSubtrahierEinheit supports both signed and unsigned arithmetic
See also Adder, Subtractor, Arithmetic Logic Unit, Two’s complement, Carry lookahead adder.