摘要
本文从实际应用出发,结合计量移动标准的开发讨论了单片机数值运算程序设计的4个方面。其中,参数传递决定了采用怎样的程序结构,容错设计是为了使程序在各种条件下正常工作,算法的时间复杂性分析关系到程序的先天素质,文档编写与程序测试则说明了怎样维护程序。本文从这4个方面,概括和阐述单片机数值运算程序设计的思路和方法。
From the actual applications, and connected with the development of the portable verification instrument, the four aspects of the numeric calculation program design is discussed. Of the aspects, parameter passing determines how to select the program Structure, error tolerating design and the analysis of time complexity affect the original quality of the program, document writing and program testing is to maintain the program. From these, the ideas and methods of this kind of program is summarized and illustrated.
出处
《电子测试》
2008年第3期72-74,共3页
Electronic Test
关键词
数值运算
单片机
程序设计
numeric calculation
single chip
programming design