We've done this countless times in so many different ways.
That said, I say it's easier if I just mention the functions used: NOT 7404 AND 7408 OR 7432 XOR 7486
Full-Subtractor Circuit Binary Adder-Subtractor Circuit Take a good look at the circuit: Here the [+] are the full adders. Use the clock as M to control whether it adds or not. That is, when m=0 it acts as an ADDER And when m=1 it acts as a SUBTRACTOR To get the B' + 1 (2's complement) we use the XOR Gate. B (+) 0 = BB (+) 1 = B' 7483A ( 4-BIT BINARY FULL-ADDER CIRCUIT) |