文件名称:编译原理双语书
介绍说明--下载内容均来自于网络,请自行研究使用
编译原理双语书 Moving on to the code generation, the goal of this phase is to build a compiler given that the programs in the phase of parser have been strictly recognized without any error, here the error means that the input is an illegal sentence in the grammar. However, before generating code, first you need to build the bar-bones recognizer.
We need create some temporary variables and maintain internally by the compiler. The step of generating Code is as follows. First, create a mechanism for allocating temporaries. In fact, the temporaries should be recycled, that is they should be reused after they are no longer needed in the current subexpression. Second, determine the name of the temporary that uses arguments and return values. So, this section of code generator consists of generating code for a binary operator, generating code for a copy instruction, generating code for an instruction which loads the argument into a register, and then write it onto the new stack fr a me, including the standard call sequence and the standard return sequence.
下载文件列表
压缩包 : 012725-01.rar 列表 14611编译原理与实践(中英双语版)\Chapter 10.ppt 14611编译原理与实践(中英双语版)\Chapter 5.ppt 14611编译原理与实践(中英双语版)\Chapter 6.ppt 14611编译原理与实践(中英双语版)\Chapter 7.ppt 14611编译原理与实践(中英双语版)\Chapter 8.ppt 14611编译原理与实践(中英双语版)\Chapter 9.ppt 14611编译原理与实践(中英双语版)\第一章.ppt 14611编译原理与实践(中英双语版)\第三章.ppt 14611编译原理与实践(中英双语版)\第二章.ppt 14611编译原理与实践(中英双语版)\第四章.ppt 14611编译原理与实践(中英双语版)