Interactive tool

ALU operation explorer

Pick an opcode, set A and B, and watch the result plus flags Z (zero), N (MSB), C (carry/borrow), and V (signed overflow). Starter: 4-bit ADD of 5 + 3.