2 ms·
JVM might be much more involved project but here is a simple virtual machine - https://github.com/skx/simple.vm https://github.com/skx/simple.vm
by n_t 9y ago
JVM might be much more involved project but here is a simple virtual machine - https://github.com/skx/simple.vm https://github.com/skx/simple.vm
- stevekemp 9y agoThat's my project, and it seems to be surprisingly popular, yet something I've never really received any feedback on. At the time I wrote it I was modeling the opcodes on the Z80, but I guess I simplified once I'd got it working enough to make myself happy. (Lots of toy-virtual machines, of which this definitely is one, don't implement labels or "decompilers".)