CPU Simulator
Settings
Press the step button to see each stage of the fetch, decode execute cycle
CPU
ALU
CU
Decode unit
| Opcode | Operand | Instruction |
| 0000 | 0000 | End |
| 0001 | address | Add |
| 0010 | address | Subtract |
| 0011 | address | Store |
| 0101 | address | Load |
| 0110 | address | Branch Always |
| 0111 | address | Branch if ACC = 0 |
| 1000 | address | Branch if ACC ≥ 0 |
| 1001 | 0001 | Input |
| 1001 | 0010 | Output |