KBD2
22nd Jun 2019
22nd Jun 2019
A compact 28-bit adder. Sets A to A ^ B, sets B to (A & B) << 1, and repeats until B is zero. Capable of subtracting using ~(~A + B). Doesn't support carry-in, but the 29th bit of the output is carry-out. Use with or without credit.
adder
electronics
electronic
Comments