Skip to content

MrYar0s/VYStat-VM

Repository files navigation

Shrimp VM

Toy vm for student course

ISA

  • instr.yaml contains ISA description
  • instr.py is a helper library for ISA processing

Modules

  1. assembler
  2. runtime - runtime library
  3. shrimp - vm application
  4. shrimpfile - vm executables format library
  5. tests

How to build

mkdir build
cd build
cmake ..
make -j16

How to run (after build)

  • Assembler executable can be found here: build/assembler/assembler . To run:
./assembler --in <input (.shr) file name> --out <out (.imp) file name>
  • VM executable can be found here: build/shrimp/shrimp . To run:
./shrimp --in <input (.imp) file name>

Test .shr sources can be found in tests/e2e

  • To run tests:
make tests

About

Toy vm for student course

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published