Tap the bits to build a byte, add two bytes with a ripple-carry adder, or race the clock decoding 8-bit numbers.
A byte holds eight bits; bit k has weight 2k, so the value is the sum of the weights of the lit bits. The adder is a chain of full adders: sum = a XOR b XOR carry-in, carry-out = (a AND b) OR (carry-in AND (a XOR b)). An 8-bit result wraps modulo 256, so the ninth bit is shown as an overflow carry. This is a teaching model of integer arithmetic; real CPUs add wider words and use faster carry-lookahead circuits.