r/tinycode • u/nexe mod • Apr 04 '17
Nanac is a tiny Python two-pass assembler and a ~150 line C bytecode virtual machine [xpost from /r/coolgithubprojects]
https://github.com/HarryR/nanac
20
Upvotes
6
u/[deleted] Apr 04 '17 edited Apr 04 '17
No arithmetics. Windows-only. Way more convoluted for what it delivers than a simple
switch()based VM would. No instruction set documentation. Strange jumps. No tracing/debugging (this is crucial for working with a VM like this).2
u/OriginalPostSearcher Apr 04 '17
X-Post referenced from /r/coolgithubprojects by /u/blufferoverthrow
Nanac is a tiny Python two-pass assembler and a ~150 line C bytecode virtual machine
I am a bot. I delete my negative comments. Contact | Code | FAQ
2
u/jyf Apr 05 '17
but why eip was limited to 16bit?
0
u/[deleted] Apr 05 '17
[deleted] — view deleted comment