Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2007, Vol. 33 ›› Issue (04): 55-57. doi: 10.3969/j.issn.1000-3428.2007.04.019

• Software Technology and Database • Previous Articles     Next Articles

Research and Porting of MIPSX Based Simulator

GAO Yijie, ZHENG Kougen, FENG Xiaobin   

  1. (State Key Laboratory for CAD & CG, College of Computer Science, Zhejiang University, Hangzhou 310027)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-02-20 Published:2007-02-20

基于MIPSX的模拟器研究与移植

高轶杰,郑扣根,冯骁斌   

  1. (浙江大学计算机科学与技术学院CAD&CG国家重点实验室,杭州 310027)

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的嵌入式系统IDE的背景下,介绍了目标系统MIPSX,分析了一个界面友好、功能强大的MIPS模拟器SPIM的代码和工作流程,在此基础上阐述了移植SPIM以支持MIPSX的流程。探讨了文法、指令模拟和可执行文件读取等几个重要环节。

关键词: SPIM, MIPSX, 模拟器, 移植