检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:乔道迹[1] QIAO Daoji(School of Big Data,North University of China,Taiyuan Shanxi 030051,China)
出 处:《信息与电脑》2021年第16期1-3,共3页Information & Computer
摘 要:在单片机控制应用中,经常会碰到较短的时间延时情况,当使用定时器/计数器不方便实现时,利用软件延时子程序完成一些延时的需求非常有必要。从研究软件延时子程序基本模式出发,给出三层循环所需机器周期数的计算方法,并在此基础上考虑到加入空操作指令以后计算所需机器周期数要注意的问题。In the application of single chip microcomputer control,we often encounter a relatively short time delay.It is inconvenient and unrealistic to use the timer/counter every time.It is necessary to use the assembly software delay subroutine to complete some delay requirements.Based on the study of the basic mode of software delay subroutine,the calculation method of the number of machine cycles required by three-layer cycle is given.On this basis,the problems that should be paid attention to in calculating the number of machine cycles after adding null operation instructions are considered.
分 类 号:TP273.5[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28