摘要
对于单片机程序的编写,汇编语言具有速度快的优势,C51则具有高级语言的优点。文中介绍了C51函数的内部转换规则和参数传递规则,通过实例详细给出了实现C51与汇编语言混合调用的方法,包括C51内嵌汇编语言、C51调用汇编语言以及汇编语言调用C51。
When MCU is programmed, ASM is featured by its high speed, while C51 has the advantage of its advanced language. The paper introduces the internal transforming principle of C51 and its parameter transforming principle.And the approaches to mixed calling between C51 and ASM are construed with the examples, including the inline ASM of C51, the calling ASM of C51 and the calling of C51 in ASM.
出处
《电脑编程技巧与维护》
2009年第S1期87-88,共2页
Computer Programming Skills & Maintenance