节点文献
C语言程序的理解与编译优化
Understanding of C Program and Compiling Optimization
【摘要】 从几个典型C语言程序出发,展示并对照示例源程序及其在MinGW GCC和LCC编译器的反汇编程序,说明编译器翻译算术表达式的基本思想,分析编译器在运算求值顺序实现中的具体差异,揭示C语言初学者在学习中容易出现的一些模糊认识,这对准确理解和学习C语言程序设计是有益的。
【Abstract】 Several typical C language programs are given in this essay, source program and its disassemblers of in MinGW GCC and LCC of the examples are showed and contrasted. The basic idea of translating arithmetic expression by compiler is explained. The concrete difference of compiler in the realization of operation evaluation order are analyzed. some fuzzy knowledge that is easy to appear in the learning of C language beginners are revealed, which is beneficial to the accurate understanding and learning of C language programming.
- 【文献出处】 现代计算机 ,Modern Computer , 编辑部邮箱 ,2020年18期
- 【分类号】TP312.1
- 【下载频次】158