I built an 8-bit CPU simulator in Python from scratch
I built an 8-bit CPU simulator in Python from scratch
I built a tiny 8-bit CPU simulator in Python to better understand how computers work at a low level. It visualizes registers, memory, and instructions in real-time, so you can actually see each operation as it happens. You can write simple assembly code and watch how the CPU executes it step by step. The project is mainly for learning and experimentation, but I’d love feedback or ideas for improvement.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
8-bit CPU simulator in C
Bit Serial CPU
Speculative Decoding from Scratch in PyTorch (2.8x CPU Speedup)
I Built a Digital Circuit Simulator to Build an 8bit CPU
I Am Making an 8-Bit CPU in Logisim
Homemade 32-bit CPU and OS (2015) [video]
1-Bit Better Off Alone on Custom Forth CPU [video]
Online challenge: Build a CPU from scratch
Metrace – easy Python CPU/memory tracing
Git, from scratch, in Python, Spelled out