An open API service indexing awesome lists of open source software.

https://github.com/bronzdoc/svm

:computer: simple virtual machine
https://github.com/bronzdoc/svm

Last synced: 7 months ago
JSON representation

:computer: simple virtual machine

Awesome Lists containing this project

README

          

# SVM - Simple virtual machine

# Sample program
```
PSH 5 ; pushes 5 to the stack
PSH 10 ; pushes 10 to the stack
ADD ; pops two values on top of the stack, adds them pushes to stack
POP ; pops the value on the stack, will also print it for debugging
SET A 0 ; sets register A to 0
HLT ; stop the program
```