摘要
软件延时在单片机延时控制中使用非常广泛,但是相当一部分读者,尤其是初学者对延时程序很模糊,对延时程序的算法不够了解。本文在分析时钟周期、机器周期、指令周期的区别和联系,以及编程常用的相关指令后,以几个经典延时子程序为例,配以图解法详细分析了MCS-51系列单片机汇编延时程序,最后在此基础上提出了一些自己的设计心得。
Delay in the SCM software delay control is widely used.However,a considerable number of readers,especially beginners to the delay process is very vague on the delay procedure and is not enough to understand the algorithm.After analyzing the clock cycle,the machine cycle,instruction cycle differences and connections,as well as programming related to commonly used commands,and taking some classic examples with a graphic method detailed analysis of the MCS-51 Microcontroller Series delay procedures,this paper finally puts forward a number of their own design ideas.
出处
《安庆师范学院学报(自然科学版)》
2010年第4期50-52,65,共4页
Journal of Anqing Teachers College(Natural Science Edition)