ALU Simulator

Arithmetic Logic Unit — the brain of every CPU. Click bits to set values, choose an operation, see the binary math happen bit by bit.

Input A

= 0

Operation

ADD SUB AND OR XOR NOT A SHL SHR
Carry In: 0

Input B

= 0

Result

= 0
Z (Zero) N (Negative) C (Carry) V (Overflow)
FreeChipStore