Hardware interview practice
Eight-bit addition overflow
Two unsigned 8-bit values are added and assigned to an 8-bit result register. The inputs are 8'hFF and 8'h01. What value is stored in the 8-bit result?
Choose one
Answer choices
- A. 8'h00; the carry is truncated unless the design explicitly keeps a ninth bit.
- B. 8'h01, because the larger operand is discarded on overflow.
- C. 9'h100, because every addition automatically widens the destination.
- D. 8'hFF, because unsigned arithmetic saturates by default.
