Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.
/ Y86-64-Simulator Public archive

A Y86-64 processor simulator written in JavaScript (Node.js) and C++11

License

Notifications You must be signed in to change notification settings

hakula139/Y86-64-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Y86-64 Simulator

A Y86-64 processor simulator written in JavaScript (Node.js) and C++11.

Y86-64 Simulator

Y86-64 Simulator is a well-designed coursework project attached to Chap. 4 of Computer Systems: A Programmer's Perspective, Third Edition. For more details, please refer to CS:APP3e Guide to Y86-64 Processor Simulators.

Table of Contents

Getting Started

0. Prerequisites

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

0.1 Back-end

For Windows, try MinGW-w64.

0.2 Front-end

1. Installation

1.1 Back-end

1.1.1 Windows
cd lib
./scripts/install.ps1
1.1.2 Linux
cd lib
bash ./scripts/install.sh

1.2 Front-end

cd app
npm install
npm run build

2. Usage

cd app
node server

Then check the website at http://localhost:7273.

To deploy and run the project on a server continuously, try pm2.

To use a command line version, see the document here.

3. Clean

3.1 Back-end

3.1.1 Windows
cd lib
./scripts/clean.ps1
3.1.2 Linux
cd lib
bash ./scripts/clean.sh

3.2 Front-end

cd app
rm -rf dist/*

4. Test

Test files are located in ./test/object. Currently only .yo files are accepted.

Click the 'Upload' button to get started.

TODO

  • Implement a memory status section
  • Compose a detailed document

Contributors

License

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