摘要: 在开发基于MIPSX的嵌入式系统IDE的背景下,介绍了目标系统MIPSX,分析了一个界面友好、功能强大的MIPS模拟器SPIM的代码和工作流程,在此基础上阐述了移植SPIM以支持MIPSX的流程。探讨了文法、指令模拟和可执行文件读取等几个重要环节。
关键词:
SPIM,
MIPSX,
模拟器,
移植
Abstract: Under the background of developing a MIPSX based embedded system IDE, the paper introduces the target system MIPSX, and then analyzes the source codes and work flow of a user friendly, powerful MIPS simulator——SPIM. It illustrates the process of porting SPIM to support MIPSX, especially three key steps, namely syntax analyzing, instruction simulating and binary file reading.
Key words:
SPIM,
MIPSX,
Simulator,
Porting
高轶杰;郑扣根;冯骁斌. 基于MIPSX的模拟器研究与移植[J]. 计算机工程, 2007, 33(04): 55-57.
GAO Yijie; ZHENG Kougen; FENG Xiaobin. Research and Porting of MIPSX Based Simulator[J]. Computer Engineering, 2007, 33(04): 55-57.