📜 Instruction Memory
16 Words (8-bit)
Program Counter (PC)
0x0 (0)
Running Cycle
T1
Instruction Reg (IR)
0x00 [NOP]
⚡ Arithmetic Logic Unit (ALU)
4-Bit Core
ZF (Zero)
CF (Carry)
Operand A: R0 = 0000 (0)
Operand B: R1 = 0000 (0)
ALU
ADD (A + B)
Result Output: 0000 (0)
⚡ Instant Instruction Execution (ALU & Live CPU)
Direct Live Execution
Tip: Type any valid instruction or click an ALU button below to execute instantly on live CPU.
Instant ALU Buttons (Click to Execute on ACC & B):
ALU Live Mode
💻 Execution Trace & Bus Activity
[00:00:00]
Processor initialized. Ready to execute instructions.
🗄️ 4 Data Registers
4-Bit (0 - 15)
Click individual bits (3-2-1-0) to toggle values directly in real-time.
Register 0
R0 / Acc
0
0
0
0
0
Register 1
R1 / Reg B
0
0
0
0
0
Register 2
R2 / Aux
0
0
0
0
0
Register 3
R3 / Scratch
0
0
0
0
0
⚡ GPIO Registers (Read, Write &
Enable)
PIN_IN / R4 (Read)
R4 / 0x6 [R]
0
0
0
0
0
PIN_EN / R5 (Enable / Dir)
R5 / 0xF [OE]
15
1
1
1
1
PIN_OUT / R6 (Write)
R6 / 0x6 [W]
0
0
0
0
0
TIMER / R7 (Stall on Read)
R7 / 0x7
0
0
0
0
0
⚡ Direct Register Value Set