摘要
介绍了用 C语言开发单片机时所遇到的问题 ,以 Franklin为例 ,介绍了 C5 1在 80 5 1系列单片机嵌入式系统中的使用技巧。提出了用 ASM5 1与 C5 1结合起来混合编程的新方法 ,在 C5 1语言不便处理或效率较低时调用汇编函数 ,另一种是用汇编识别 C5 1函数 ,开发出的系统更易维护 ,可靠性高 ,移植性强。
The problem occurred in developing singlechip microcomputer with C language is described.With Franklin as an example,th is paper presents the application trick of C51 in 8051 series singlechip embedded system,and puts forward a new method that combines Asr51 and C51 to pr ogram in hybrid way,which will call in assembly function as it is not convenient to process or with low efficiency for C51. Another method is to use assemble to identify C51 functions,which will develop the system that is easy to be service d and with high reliability and powerful implantation ability.
出处
《电脑开发与应用》
2004年第6期21-22,32,共3页
Computer Development & Applications
关键词
C51
单片机
嵌入式系统
系统开发
混合编程
C51,embedded,system development,singlemicrocomputer,hybrid programming