simple-vm

March 17, 2018 ยท View on GitHub

Mostly a copy/paste of Simple Virtual Machine by Bartosz Sypytkowski.

cc simple-vm.c && ./a.out

It prints 8 because it runs the equivalent of fib(6) (hard-coded in the source).



  • fa-vm (simple VM in C, from Felix Angell)
  • simple-vm (simple VM in C, from Bartosz Sypytkowski)