This project is a CPU emulator of a custom ISA that I made. Programs are run from memory, and can use the stack and registers. I'll add memory features soon. Also, the output console is used for logging purposes, I'll add program functionality for it soon. Test programs and more notes below: Notes: See the comments under "See Inside" for some documentation on how to write programs! Test programs: Stack test: ====== 8 5 1 1 5 123 5 456 5 789 6 4 6 3 6 2 9 1 0 9 2 0 9 3 0 9 4 0 7 1 ===== Fibonacci calculator =====
Some noteworthy resources: https://felix.engineer/blogs/virtual-machine-in-c/ https://github.com/Killaship/dumbisa https://github.com/felixangell/mac