Hakula

Y86-64 Simulator
Introduction to Computer Systems I @ Fudan University, fa...
扫描右侧二维码阅读全文
10
2020/03

Y86-64 Simulator

Introduction to Computer Systems I @ Fudan University, fall 2019.

封面:「彩幻に臨む金魚茶屋」/「藤原」

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.

Here's a Demo.

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.


版权声明:本文为原创文章,版权归 Hakula 所有。

本文链接:https://hakula.xyz/project/y86-64.html

本文采用 CC BY-NC-SA 4.0 许可协议 进行许可。

最后修改:2021-01-11
如果我的文章对你有帮助,欢迎赞赏,谢谢你!111

发表评论