摘要
GAS(GNU Assembler)是自由软件基金会的 GNU工程的一个开放源代码的汇编器 ,它目前支持多种目标处理器和多种目标文件格式 .本文通过对 GAS进行分析 ,重点研究对其进行移植需要进行的工作 .然后根据我们面对的目标处理器的特点和要求 ,对 GAS进行了具体的移植工作 ,说明了移植的步骤和难点等 .
GAS(GNU Assembler) is an open source assembler supporting multi target, multi object file formats, and is sponsored by Free Software Foundation(FSF). This paper analyses the structure of GAS and points out what need to do when porting it to support a new processor. It then gives a real porting process in order to support a specific processor and shows the hints which should be helpful to other portings. The finished cross assembler now is working well and plays an important role in the processor design project of Tsinghua University.
出处
《小型微型计算机系统》
CSCD
北大核心
2004年第7期1185-1187,共3页
Journal of Chinese Computer Systems
基金
国家自然科学基金项目 (60 0 83 0 0 4)资助
清华大学骨干人才支持计划资助