This project is a rust implementation of a virtual machine for running LC-3 (Little Computer 3), which is a simplified educational assembly language. I am doing this for educational purposes as I am learning more about low level programming for reverse engeneering.
The idea came from this guide, but I followed this other blog on rust.
You need rustc and cargo to run this project. If you use Nix, you can enter
the developement environment with:
nix-shellYou can run any LC-3 program with:
cargo run <path>There are some examples in examples/.
LC-3 uses 16 instructions of 16 bits and has an address space of 2^16.
The instruction set:
