YAVM (yet another virtual machine) - is a toy implementation of registry-based virtual (abstract) machine for simple assembler.
Go to file
2020-02-17 20:55:41 +04:00
go.mod init commit 2020-02-17 20:55:41 +04:00
main.go init commit 2020-02-17 20:55:41 +04:00
opcodes.go init commit 2020-02-17 20:55:41 +04:00
README.md init commit 2020-02-17 20:55:41 +04:00
vm.go init commit 2020-02-17 20:55:41 +04:00

YAVM

YAVM (yet another virtual machine) - is a toy implementation of registry-based virtual (abstract) machine for simple assembler.
Features:

  • Load number into register
  • Add two numbers
  • Substract two numbers
  • Multiple two numbers
  • Divide two numbers