摘要
讨论汇编语言与C语言的混合程序设计技术。在大规模的程序设计中,汇编语言程序与高级语言程序相结合,充分发挥各自的优点,实现两种语言之间的混合编程,是解决实际问题的有效方法。在实际的程序设计中,C语言主程序可以调用汇编语言子程序,汇编语言主程序可以调用C语言子程序,也可以在C语言程序中嵌入汇编语言语句。在汇编语言与C语言的混合编程中,参数的传递、模块的连接以及调用关系的确定是值得注意的关键问题。
This paper discusses a kind of technique of the mixed programming design between assembly language and C language. In programming design,the mixed programming between assembly language and C language is a good method that can exert their strong point. In actual programming, it may transfer assembly language subprogram in the main programs of C language, and transfer C language subprogram in the main programs of assembly language,and it may insert assembly language sentence in C language program. In mixed programming of assembly language and C language, some questions that should be noticed include parameter transfer,module connection and transfer relation.
出处
《计算机技术与发展》
2006年第8期18-20,共3页
Computer Technology and Development
基金
延安大学专项科研基金资助项目(YDK2004-25)
关键词
汇编语言
C语言
混合编程
assembly language
C language
mixed programming