How farmer2010/chubrik-processor-emulator works
This repository is a desktop emulator for the Logic Arrows processor, with an integrated assembly compiler and a separate image-to-assembly utility. The main workflow is to select an assembly program, load it, execute or step it, and inspect processor state, console output, or memory. The README documents these controls and the image conversion capability. Some internal loading and execution details are not fully shown in the excerpts, so uncertain links are omitted or marked unverified.
Main entry points: main.py Emulator UI · emulator.py Processor execution · image_to_asm.py Image converter · programs Assembly programs
Components 10
Desktop interface
- Emulator UI
main.py - UI rendering helpers
utils.py
Emulation runtime
- Processor execution
emulator.py - Banked memory
emulator.py - Console and display I/O
emulator.py
Assembly tools
- Assembly compiler
compiler.py - Image converter
image_to_asm.py
Example programs
- Assembly programs
files/programs
Other components
- Operator
- System clipboard
Connections 11
- Operator → Emulator UI: controls
README.md - Emulator UI → UI rendering helpers: renders with
main.py - Emulator UI → Processor execution: controls and reads
main.py - Operator → Assembly programs: selects program
- Emulator UI → Assembly programs: opens files
main.py - Processor execution → Assembly compiler
emulator.py - Processor execution → Banked memory: reads and writes
emulator.py - Processor execution → Console and display I/O: updates ports
emulator.py - Emulator UI → Image converter
- Operator → Image converter: provides image
image_to_asm.py - Image converter → System clipboard: copies assembly
image_to_asm.py