Skip to content

marihachi/vm01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vm01

An experiment for stack machine based VM 01.

for Linux

System required

  • cmake
  • C compiler (clang recommended)

Build

  1. Configure
cmake -S src -B build
  1. use make commands:
cd build
make clean
make all

Run vm01

cd build
./vm01 ../program.bin

for Windows

System required

  • Visual Studio

Build

  1. Configure
cmake -S src -B build
  1. Open the .sln file in the build directory to start Visual Studio.
  2. Rebuild the solution in the Visual Studio.

Run vm01

Open a Command Prompt.
Go to the directory where vm01.exe was generated, And execute the following command:

vm01.exe ../../../program.bin

License

MIT

About

An experiment for stack machine based VM 01.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages