Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 750 Bytes

README.md

File metadata and controls

46 lines (32 loc) · 750 Bytes

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