How does a register based virtual machine work?

后端 未结 1 1960
灰色年华
灰色年华 2021-01-31 22:43

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条回答
  •  别跟我提以往
    2021-01-31 22:56

    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.

    0 讨论(0)
提交回复
热议问题