计算机工程 ›› 2010, Vol. 36 ›› Issue (2): 249-251.doi: 10.3969/j.issn.1000-3428.2010.02.088

• 开发研究与设计技术 • 上一篇    下一篇

基于宏指令集的专用汇编器的研究与实现

许 娜,张晓彤,王 沁,梁 静   

  1. (北京科技大学信息工程学院,北京 100083)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-01-20 发布日期:2010-01-20

Research and Implementation of Specific Assembler Based on Macroinstruction Set

XU Na, ZHANG Xiao-tong, WANG Qin, LIANG Jing   

  1. (School of Information Engineering, University of Science and Technology Beijing, Beijing 100083)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-01-20 Published:2010-01-20

摘要: 针对将复杂算法转化为硬件电路难度很大的问题,设计一种专用汇编器,可将由宏指令组成的汇编语言自动转化为二进制代码表示的机器语言,并根据宏指令集计算机理论的系统结构,将二进制代码组织成VHDL语言描述的状态机输出,便于进一步的硬件优化设计。性能测试结果证明,该汇编器支持从汇编语言到硬件电路设计语言的自动转化,可较大地提高用硬件电路实现复杂算法的研发效率。

关键词: 宏指令, 汇编语言, 汇编器, 宏指令集计算机, 硬件电路

Abstract: Aiming at the problem that it is difficult to implement complex algorithm to hardware circuit, this paper designs a specific assembler based on macroinstruction set model. It can automatically translate assembly language composed of macroinstructions into binary code. According to structure of Macro instruction Set Computer(MISC) system, the binary code can be organized into the state machine output in the form of VHDL. Performance test proves that the assembler supports auto-translation from assembly language to hardware circuit design language, and it can improve the developing efficiency by using hardware circuit to implement complex algorithm.

Key words: macroinstruction, assemble language, assembler, Macroinstruction Set Computer(MISC), hardware circuit

中图分类号: