A very simple bytecode virtual machine for educational purposes. It is able to print a text on the screen. The VM is implemented from this tutorial video - https://www.youtube.com/watch?v=DUNkdl0Jhgs by Josh Stone (@jephthai)
Implemented VM commands:
- 'c'<x> - put a byte <x> to the stack
- 'e' - take a top byte from the stack and print it on the screen
- 'h' - halt the program
Demo program hello.vm
prints out a text Hello world!
make
./vm hello.vm
Hello world!