Skip to content

ICS-25Fall-FDU/PJ-Y86-64-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Y86 Simulator

简介

你将实现一个 Y86-64 指令集模拟器。

Y86-64-Simulator/
│
├─ test/           # 测试指令文件
│
├─ answer/         # 指令执行结果
│
├─ test.py         # 测试脚本:运行模拟器 + 对比结果
│
└─ ...             # 自定义模拟器代码(cpu.h, cpu.cpp, cpu.py, Makefile 仅供参考)

测试方法

运行 python test.py --bin {你的 cpu 可执行文件路径}

  • 如果你的 cpu 可执行文件为 ./cpu,运行 python test.py --bin ./cpu

  • 如果你的 cpu 需要解释器,运行 python test.py --bin "python cpu.py"

Note

将你最终用于测试的命令写入 test.sh,方便我们最终进行测试。

About

2025秋季计算机系统基础课程项目模板

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published