An experiment for stack machine based VM 01.
- cmake
- C compiler (clang recommended)
- Configure
cmake -S src -B build
- use make commands:
cd build
make clean
make all
cd build
./vm01 ../program.bin
- Visual Studio
- Configure
cmake -S src -B build
- Open the .sln file in the build directory to start Visual Studio.
- Rebuild the solution in the Visual Studio.
Open a Command Prompt.
Go to the directory where vm01.exe was generated, And execute the following command:
vm01.exe ../../../program.bin
MIT