摘要
本文论述了一种面向MIPS_64位系统结构的汇编语言转换成二进制机器码的设计与实现技术。从编译原理的角度出发,采用词法分析,语法分析,语义分析及中间代码的生成等方法,逐步实现汇编语言到机器语言的转换。该汇编器可将分析和变换后得到的机器语言送入模拟器中进行模拟执行和进行相关的性能检测。
The design and implementation technology about the conversion from assemble language to binary machine code under the architecture of MIPS64 bits are discussed here. From the perspective of principle of compiling, it uses lexical analysis, syntax analysis, semantic analysis and the generation of intermediate code to achieve the conversion. The machine codes generated by the compiler can be used to test the capability in the simulator.
出处
《中国西部科技》
2009年第28期32-34,41,共4页
Science and Technology of West China
关键词
MIPS
编译原理
汇编器
机器码
MIPS
Principle of compiling
Assembler
Machine code