A stack-based virtual-machine and assembler written in Rust
Compile stackvm
using cargo
:
$ cargo build --release
$ cp target/release/stackvm ./stackvm
-
Assemble a
.stasm
file:$ ./stackvm -a <.stasm file> -o <.bin output file>
-
Run a
.bin
file:$ ./stackvm -r <.bin file>
-
Assemble and run a
.stasm
file:$ ./stackvm -a -r <.stasm file>
This code is licensed under the MIT License. See LICENSE for more information.