Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArtOfVM

A virtual machine written in Rust that hosts the best Assembly ever, ArtOfASM.

version platforms lines

ArtOfVM

A virtual machine written in Rust with the goal of hosting my own Assembly architecture: ArtOfAssembly, or ArtOfASM in short.

How do I use it?

Download the executable targeted towards your platform (Windows x86_64-msvc and Linux x86_64-gnu are the only supported platforms) under the latest release. You can use it with the following arguments:

  • assemble [asm_file] [out_file]
    • Assembles the [asm_file] and writes the output to the [out_file].
  • dbg [out_file]
    • Prints out the machine code that the [out_file] represents.
  • benchmark [out_file]
    • Executes the [out_file] 1,000 times and prints out the fastest & slowest times recorded as well as the median and average time in microseconds.
  • exe [out_file]
    • Executes the [out_file].

You can also download the repository and use the library in your Rust projects.

How can I learn ArtOfASM?

As of now, ArtOfASM doesn't have any documentation. The best I have to offer are some examples I made under the tests directory. If you want to get a more extensive education upon the language, go check out the assembler in src/assembler.rs.

About

A virtual machine written in Rust that features its own assembler to assemble ArtOfAssembly.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages