Skip to content

Latest commit

 

History

History
58 lines (52 loc) · 1.7 KB

File metadata and controls

58 lines (52 loc) · 1.7 KB

mips-assembly

清华大学2024春季学期课程《数字逻辑与处理器基础》大作业一:MIPS汇编语言。

主要任务:将 C++ 代码等价地翻译为 MIPS 汇编代码。

请在 MARS 仿真器中打开 .asm 汇编文件,Windows下中文乱码解决方法:用记事本打开后“另存为”,下面编码改为“ANSI”。在 vscode 中乱码问题有时难以捉摸和解决。

文件说明:


.
|-- README.md
|-- attachment		实验用附件
|   |-- Mars4_5.jar
|   |-- example.in
|   |-- example.out
|   |-- jre-8u401.exe
|   `-- pxBinaryViewerSetup.exe
|-- example			“MARS环境安装与基础使用方法”部分参考代码
|   |-- example.in
|   |-- example.out
|   |-- example_0.asm
|   |-- example_1.asm
|   |-- example_2.asm
|   `-- example_3.asm
|-- exp1			作业“第一部分:基础练习”参考代码和样例数据
|   |-- Mars4_5.jar
|   |-- a.in
|   |-- a.out
|   |-- exp1_1.asm
|   |-- exp1_1.cpp
|   |-- exp1_2.asm
|   |-- exp1_2.cpp
|   |-- exp1_3.asm
|   |-- exp1_3.cpp
|   |-- exp1_4.asm
|   `-- exp1_4.cpp
|-- exp2			作业“第二部分:实战应用”参考代码和样例数据
|   |-- Mars4_5.jar
|   |-- a.in
|   |-- a.out
|   |-- binary_insert_sort.asm
|   |-- binary_insert_sort.cpp
|   |-- insert_sort.asm
|   |-- insert_sort.cpp
|   |-- merge_sort.asm
|   |-- merge_sort.cpp
|   `-- merge_sort_runnable.cpp
|-- reference		参考文献
|   |-- Introduction to the MIPS32 Architecture.pdf
|   |-- MIPS Calling Conventions Summary.pdf
|   `-- MIPS32 Instruction Set Manual.pdf
|-- report.pdf              实验报告
|-- 汇编大作业说明文档.docx		本次作业的具体内容说明
`-- 汇编实验指导.pdf			为MIPS重点内容复习及大作业解释