Apex › Hardware

The binary adder — how gates do arithmetic

Every sum a CPU computes is built from one tiny circuit: the full adder (two bits plus a carry in gives a sum bit and a carry out). Chain eight of them and the carry ripples from the low bit up, exactly like carrying in decimal. Drag two numbers and watch the carry propagate, then see why the worst case (255 + 1, a full ripple) is the delay that pushes real ALUs to carry-lookahead.

More in Hardware