News for hackers. Stuff that matters.
Re:TinyVM – A small and easy to understand virtual machine in C by acqq on Saturday March 17, 2018 @02:01PM (#16608174)
I’ve found that switch fast, in a few clicks, reading this on my phone:

https://github.com/jakogut/tinyvm/blob/master/include/tvm/tv...

I’ve used the info you provided as the start, of course.

Re:TinyVM – A small and easy to understand virtual machine in C by ben_bai on Saturday March 17, 2018 @03:40PM (#16608666)
In a .h file?

Have to agree with userbinator.

Re:TinyVM – A small and easy to understand virtual machine in C by e12e on Saturday March 17, 2018 @06:15PM (#16609336)
Isn't it odd to have:

/* nop */ case 0x0

Rather than #define NOP 0x0? Namespacing? How about vm_NOP?