Skip to content

San7o/rust-little-computer-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-little-computer-3

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.

Depedencies

You need rustc and cargo to run this project. If you use Nix, you can enter the developement environment with:

nix-shell

Running

You can run any LC-3 program with:

cargo run <path>

There are some examples in examples/.

Notes

LC-3 uses 16 instructions of 16 bits and has an address space of 2^16.

The instruction set:

image

Specification

About

This project is a rust implementation of a virtual machine for runing 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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors