Instructions
- Key Switch (top left): Toggle register/memory view
- Run Mode Switch (top right): Click to cycle Stop / Slow / Fast
- Toggle Switches: Set 16-bit address or 8/16-bit data (top row is lower byte)
- RESET: Reset the CPU (PC = 0) or loads a program from the predefined ones
- SINGLE STEP: Execute one instruction
- STORE ADDR: Set the current address/program counter from switches
- STORE BYTE: Write (top) byte to memory at current address
- STORE WORD: Write both bytes to memory
- AUTO INCREMENT: Automatically increment address after store
Source code: github.com/gzalo/microcomputer