Skip to content

A stack-based virtual-machine and assembler written in Rust

License

Notifications You must be signed in to change notification settings

Spydr06/stackvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StackVM

A stack-based virtual-machine and assembler written in Rust

screenshot

Compiling

Compile stackvm using cargo:

$ cargo build --release
$ cp target/release/stackvm ./stackvm

Usage

  1. Assemble a .stasm file:

    $ ./stackvm -a <.stasm file> -o <.bin output file>
  2. Run a .bin file:

    $ ./stackvm -r <.bin file>
  3. Assemble and run a .stasm file:

    $ ./stackvm -a -r <.stasm file>

License

This code is licensed under the MIT License. See LICENSE for more information.

About

A stack-based virtual-machine and assembler written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages