Skip to content

A simple MIPS-Simulator with integer-operations

Notifications You must be signed in to change notification settings

lwher/MIPS-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

实现一个支持所有整数操作的MIPS解释器,并模拟五级流水工作原理

具体实现要求见mips-simulator.pdf

编译SPIM.cpp即可得到SPIM.exe(SPIM解释器)

使用方法:在当前目录下打开控制台,输入命令 SPIM + 空格 + xxxxx.s
(其中,xxxxx.s即为要运行的mips源码)

测试数据:
https://github.com/lwher/mips-simulator-testcases

checker.exe为测试脚本,将其与SPIM.exe一起放在数据以及输入输出所在目录,在命令行中运行即可知道结果。

copyright(code): lwher

About

A simple MIPS-Simulator with integer-operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages