Show HN: I built an 8-bit CPU simulator in Python from scratch
6 months ago
- #educational-tool
- #assembly-language
- #low-level-programming
- Tiny8 is a lightweight toolkit for exploring core computer concepts through memory models, assembly, and data structures.
- Designed for rapid experimentation with minimal dependencies and intuitive visualization tools.
- Key features include lightweight installation, educational clarity, fast feedback loops, and extensibility.
- Target users include students, educators, hobbyists, and developers interested in low-level programming.
- Installation requires Python 3.11+, Git, and optionally a virtual environment.
- Example provided: a bubble sort algorithm in assembly with visualization.
- Tiny8's instruction set includes data transfer, arithmetic, logical operations, shifts, and control flow commands.
- Documentation includes API references for CPU, assembler, and visualization tools.
- Licensed under MIT, with contributions welcome following repository guidelines.