this on Bi thus yielding the following output functions: 0 (with both the Ai and Bi inputs set to zero and ) 1 (with both the Ai and Bi inputs set to zero and ) A (with the Bi input set to zero) B (with the Ai input set to zero) (with the Bi input set to zero and ) (with the Ai input set to zero and ) (with Ai set to invert; Bi set to zero; and ) −A (with Ai set to invert; Bi set to zero; and ) (with Bi set to invert; Ai set to zero; and ) −B (with Bi set to invert; Ai set to zero; and ) By adding more logic in front of the adder, a single adder can be converted into much more than just an adder—an ALU. See also Adder (electronics) Carry-lookahead adder Carry-save adder Adding machine Subtractor References Telecommunications equipment Binary arithmetic Adders (electronics) Arithmetic logic circuits