Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does a register based virtual machine work?

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.

like image 424
yinglcs Avatar asked Mar 27 '09 07:03

yinglcs


1 Answers

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.
like image 155
RBerteig Avatar answered Oct 24 '22 20:10

RBerteig



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!