anvm = Andrew's Virtual Machine
^^ ^ ^
Object model:
- A Program is a bunch of executable instructions and area for an execution stack.
- A CPU has a program counter, a stack pointer, a status register, and some general purpose registers. It uses these registers to run a program dictacted via a stream of instructions.
- A System is a thing that runs Program's on a CPU.
- A Process is a Program that is currently being run by the System on the CPU.
To do anything in this repo, first run the bootstrap.sh
script to download dependencies. Then, use the Makefile to run the tests.
./script/bootstrap.sh
make test
To build the assembler, run this command (after the above step).
bazel build //src/asm:anasm
This project uses at least C++11.