Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Latest commit

 

History

History
107 lines (72 loc) · 2.24 KB

README.md

File metadata and controls

107 lines (72 loc) · 2.24 KB

Y86-64 Simulator CLI

A Y86-64 processor simulator written in C++11.

Table of Contents

Getting Started

To set up the environment, you need to have the following dependencies installed.

0. Prerequisites

For Windows, try MinGW-w64.

1. Installation

1.1 Windows

./scripts/install.ps1

1.2 Linux

bash ./scripts/install.sh

2. Usage

./bin/sim input_file [output_dir]

2.1 Arguments

2.1.1 input_file

input_file is the path to your input file. Currently only .yo files are accepted.

2.1.2 output_dir

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.

2.2 Examples

./bin/sim "../test/objects/prog1.yo"
./bin/sim "../test/objects/asum.yo" "./temp"

2.3 Manual

Check the manual simply by passing no argument.

./bin/sim

3. Clean

3.1 Windows

./scripts/clean.ps1

3.2 Linux

bash ./scripts/clean.sh

Contributors

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.