5 questions0m 0s
Learn the skill
Use bits 0 and 1. XOR gives 1 for different inputs; AND needs both ones; inclusive OR needs at least one. C is carry-in. Find X = A XOR B, Sum = X XOR C, G = A AND B, P = X AND C, then Carry = G OR P. Check A + B + C = 2 x Carry + Sum. This is an ideal one-column model, not physical wiring.
Worked example
For A = 1, B = 0, C = 1: X = 1, Sum = 0, G = 0, P = 1 and Carry = 1. Carry/Sum is binary 10, meaning two.