Skip to content

creeperkafasi/vole-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VOLE interpreter written in Rust

Vole is a fictional machine language used for teaching Computer Science students.

See here for the instruction set PDF

Try it out by running:

cargo run -- ./examples/fibonacci.vole

or

cargo run -- ./examples/toplama.vole (Explained in Turkish)

Deviations from the original VOLE instruction set

This interpreter adds 2 extra instructions for printing values into stdout:

  • 0xDM0R prints the value of register R into stdout using the mode M
  • 0xEMXY prints the value of memory cell XY into stdout using the mode M

Printing modes:

  • 0xB -> Binary
  • 0xC -> Character
  • 0xE -> hExadecimal
  • 0xF -> Floating point
  • Anything else -> Decimal

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages