Circuits / Arithmetic
4-Bit ALU
Computes 4-bit A + B, A - B, A AND B, or A OR B selected by a 2-bit Opcode feeding a 4-to-1 Multiplexer.
A 4-bit Arithmetic Logic Unit computes multiple operations.
Operations selected by a 2-bit Opcode fed to a 4-to-1 multiplexer.
Supports: addition (A+B), subtraction (A-B), bitwise AND, bitwise OR.
Result routed from ALU outputs through the multiplexer.
Tip: If the wrong operation appears, check the MUX select logic.
01Z floatingE conflict (dashed)