问题
How does a register based virtual machine work? I am looking for introduction to how a register based virtual machine works. Can someone please help?
Thank you.
回答1:
One example of a register-based VM with available source code is Lua. There are a number of resources that might help...
- The Implementation of Lua 5.0 From the authors of Lua itself.
- LuLu The Lua VM implemented in Lua, companion to a blog in Japanese.
- A No Frills Intro to Lua 5.1 VM Instructions From a frequent contributor to the Lua community.
来源:https://stackoverflow.com/questions/688803/how-does-a-register-based-virtual-machine-work