Welcome to VMMA31, a virtual machine designed for a custom 32-bit architecture. This project allows you to run assembly programs using a tailored instruction set, providing a simple environment for experimenting with low-level programming.
To set up VMMA31 on your system, follow these steps:
-
Download the Files:
- Clone the repository using Git:
git clone https://github.com/lbaile33/vmma31.git
- Clone the repository using Git:
-
Navigate to the Folder:
- Change into the project directory:
cd vmma31
- Change into the project directory:
-
Build the Project:
- Ensure you have Rust installed.
- Clean and build the project with these commands:
cargo clean cargo build --release
To run a program with VMMA31, follow these steps:
-
Prepare Your Assembly File:
- Create an assembly file (e.g.,
my_test_file.v) with your program written in the VMMA31 instruction set.
- Create an assembly file (e.g.,
-
Execute the Program:
- Run the virtual machine with your file using this command:
cargo run --release my_test_file.v
- Run the virtual machine with your file using this command:
This project is licensed under the MIT License. See the LICENSE file for more details.