作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (1): 242-244. doi: 10.3969/j.issn.1000-3428.2009.01.084

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

基于用户描述的可配置汇编器

邹 耀,刘佩林   

  1. (上海交通大学电子工程系,上海 200240)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-01-05 发布日期:2009-01-05

Configurable Assembler Based on User Description

ZOU Yao, LIU Pei-lin   

  1. (Dept. of Electronic and Engineering, Shanghai Jiaotong University, Shanghai 200240)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-01-05 Published:2009-01-05

摘要: 针对传统固定指令集处理器的汇编器开发周期长、无法及时适应可配置处理器指令集需求变化的问题,提出一种基于用户描述的可配置汇编器的设计和实现方法,高度抽象汇编器中依赖指令集的部分,通过对指令集高层次描述,快速将指令集的变化映射到汇编器源代码上。实验结果表明,该方法可降低汇编器50%左右的开发工作。

关键词: 可配置处理器, 可配置汇编器, GNU Binutils工具集, 二进制文件描述

Abstract: Aiming at the developing time of traditional assembler for off-the-shelf processors is too long to meet the requirement of configurable processor and changeable demand, this paper provides a method to design and implement configurable assembler based on user description. It highly abstracts the ISA dependent part in the assembler and by using high level description of ISA, and can quickly and directly reflect the changes of the demand and ISA into the assembler’s source code. Experimental results indicate that it reduces about 50% developing work and brings down the threshold to develop the assembler.

Key words: configurable processor, configurable assembler, GNU Binutils, Binary File Description(BFD)

中图分类号: