A Y86-64 processor simulator written in C++11.
To set up the environment, you need to have the following dependencies installed.
For Windows, try MinGW-w64.
./scripts/install.ps1
bash ./scripts/install.sh
./bin/sim input_file [output_dir]
input_file
is the path to your input file. Currently only .yo
files are accepted.
Optional. output_dir
is the directory for all outputs, which is set to the root folder of executable sim
by default. Please make sure the directory already exists.
./bin/sim "../test/objects/prog1.yo"
./bin/sim "../test/objects/asum.yo" "./temp"
Check the manual simply by passing no argument.
./bin/sim
./scripts/clean.ps1
bash ./scripts/clean.sh
- Hakula Chen<i@hakula.xyz> - Fudan University
- Jiaqi Dai - Fudan University
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.