首页 | 本学科首页   官方微博 | 高级检索  
     检索      

51单片机中for循环延时时间的估算
引用本文:陈宏希.51单片机中for循环延时时间的估算[J].兰州石化职业技术学院学报,2013(4):34-36.
作者姓名:陈宏希
作者单位:兰州石化职业技术学院电子电气工程系,甘肃兰州
摘    要:针对51系列单片机中C语言编写的for循环延时程序的延时时间的长短问题,通过分析其对应的汇编代码,探究延时时间长短的各种决定因素,提出了51系列单片机中for循环延时程序延时时间的一般估算方法。

关 键 词:51单片机  for循环  延时程序

Delay Time Estimating of For -Loop in 51 MCU
Institution:CHEN Hong - xi (Department of Electric & Electronic Engineering, Lanzhou Petrochemical College of Vocational Technology, Lanzhou 730060, China)
Abstract:In the programming of 51 MCU, for-loop delay time program segment in C language is used frequently, but the time span of the delay time program segment is not convenient to get. This article compares the C language to its corresponding assembly language of the for - loop, and then gets the deciding factors of the time span of delay time program segment, finaly gives the common method of how to estimate the delay time of for - loop in 51 MCU
Keywords:51 MCU  For-loop  delay time
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号