摘要
在编写单片机程序时,汇编语言具有速度快的优点,而C51则具有高级语言的优势。文章介绍了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.
出处
《四川理工学院学报(自然科学版)》
CAS
2008年第3期57-59,共3页
Journal of Sichuan University of Science & Engineering(Natural Science Edition)