摘要
在嵌入式程序设计中,C语言和汇编语言是两种应用最广泛的编程语言,它们各有突出的优点。本文中详细介绍了这两种编程语言混合调用的方法,并以DS18B20温度采集系统为例,在程序设计中灵活运用这两种编程语言,使程序简洁而高效,对学生学习、运用单片机C语言与汇编语言的混合调用,解决实际问题具有一定的参考价值。
In embedded programming,C language and assembly language are two kinds of the most widely used languages with their respective prominent advantages in program designing.This paper introduces the mixed calls methods by using two kinds of programming language together.Taking DS18B20 temperature gathering system as an example,it proves that it can make the process concise and efficient by using two languages flexibly.It supplies a reference for students to learn and use C language and assembly language to solve practical problems.
出处
《实验室科学》
2010年第5期121-125,共5页
Laboratory Science