Virtual machine for the LC-3 (Little Computer 3) architecture. Specification.
Rogue | 2048 |
---|---|
Load one or more image files to memory, and execute indefinitely starting at address 0x3000
.
$ lc3-vm ./image-file1.obj ./image-file2.obj ...
Building from source requires the Rust compiler and the Cargo package manager, both can be installed with rustup.
Download source code, build binary, and install to $HOME/.cargo/bin
:
$ cargo install --git https://github.com/faresbakhit/lc3-vm
Download source code to a new directory and build in release mode at ./lc3-vm/target/release/lc3-vm
.
$ git clone https://github.com/faresbakhit/lc3-vm
$ cd agg
$ cargo build --release
lc3-vm, a virtual machine for the LC-3 (Little Computer 3) architecture. Copyright (C) 2024 Fares A. Bakhit
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.