/LC-3_rs

LC-3 virtual machine implementation in Rust

Primary LanguageRustGNU General Public License v2.0GPL-2.0

LC-3_rs

LC-3 virtual machine implementation in Rust. Currently it should be able to run all programs written for LC-3 but I haven't tested it with other programs than 2048 game.

TODO

  • Get rid of all c functions and unsafe blocks
  • Better abstraction on memory

Usage

<program name> [file1] ...
Run the program with the desired .obj file as argument

Crates

Enum_primitive_derive

Allows using enums in c style

Libc

I was lazy and used some c functions to implement parts that are not related to emulation

Credits

This project followed this tutorial.