摘要: 汇编器是编译工具链中最贴近芯片的一环。在进行新的芯片设计时,快速开发一个功能强大使用方便的汇编器是保证芯片设计按进度进行的必要条件。移植GNU的汇编器GAS是一个首选的方案。分析了GAS的源程序,指出了移植的关键之处。给出的方法可以更快更好地移植GAS。
关键词:
编译工具链,
汇编器,
GAS,
移植
Abstract: Assembler is one of the tools in compile toolchain, which is the most relative segment to the chips.When designing new chips,a full-fledged and convenient assembler must be developed in short time to guarantee that the design can be carried out as written in the plan. Porting GAS, the GNU assembler, is preferred. The paper analyzes the sources of GAS and points out the keys in porting it. Using this methods, one can port GAS to a new chip with less time and higher quality.
中图分类号:
陈文平. GNU as的移植[J]. , 2003, 29(10): 111-113.
CHEN Wenping. Porting of GNU as[J]. , 2003, 29(10): 111-113.