This repository from fuzzsociety.org contains a basic CPU written in Python3 - The SimpleProc8 (This should sound in in Italian as simple prosciutto - ham)
This repository will be used for the OpenSecurityTraining2 Emulation 101 - From Zero to QEMU course. Upcoming fall '25
You have a basic test suite with jumps, conditions, even bubblesort.
Send your PRs - we will look at them
Check the README_int.md
This is very rudimentary still it will work to build pretty complex programs the README_asm.md contains the details
I also prepared a binary ninja disassembler plugin - That is useful to understand how architectures are coded into such powerful tools
~/Library/Application\ Support/Binary\ Ninja/plugins/simpleproc8
should contain - README.md init.py plugin.json