资源描述:
《汇编语言与接口技术实验指导书v.》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、山东建筑大学计算机学院汇编语言与接口技术实验指导书计算机科学与技术教研室2014.3NorthGateStationandallthelongdistanceIntercity,TRANS-provincelines;NorthGateStationcurrentlyrunstheoriginalcounties,ruralroutes;Simon,stationmain,Yibincity,acrossthecity,acrosstheprovinceandtotheWestofrangeline.Yibincityhi
2、ghwaymainstationdistributiontable3.1-6stationnamegradeaccountedfortoarea(m2)Gao35目录第1章概述11.1Keil软件的安装11.2KeilC51软件的使用31.3创建工程31.4程序文件的编译、连接与调试6第2章STCMonitor51仿真器使用指南82.1安装Keil版本的仿真驱动82.2在Keil中创建项目92.3项目设置,选择STC仿真驱动102.4创建仿真芯片112.5开始仿真12第3章必修实验133.1实验一应用系统开发过程及常用指令
3、实验153.2实验二I/O实验193.3实验三中断系统应用实验203.4实验四定时器系统应用实验223.5实验五串行通信实验233.6实验六显示接口实验243.7实验七键盘接口实验253.8实验八A/D、D/A转换器接口实验26附录1实验板原理图27附录2单片机软件编码规范321排版332注释383标识符命名464可读性495变量、结构516函数、过程587可测性68NorthGateStationandallthelongdistanceIntercity,TRANS-provincelines;NorthGateSta
4、tioncurrentlyrunstheoriginalcounties,ruralroutes;Simon,stationmain,Yibincity,acrossthecity,acrosstheprovinceandtotheWestofrangeline.Yibincityhighwaymainstationdistributiontable3.1-6stationnamegradeaccountedfortoarea(m2)Gao358程序效率739质量保证7810代码编辑、编译、审查8511代码测试、维护871
5、2宏0NorthGateStationandallthelongdistanceIntercity,TRANS-provincelines;NorthGateStationcurrentlyrunstheoriginalcounties,ruralroutes;Simon,stationmain,Yibincity,acrossthecity,acrosstheprovinceandtotheWestofrangeline.Yibincityhighwaymainstationdistributiontable3.1-6s
6、tationnamegradeaccountedfortoarea(m2)Gao35NorthGateStationandallthelongdistanceIntercity,TRANS-provincelines;NorthGateStationcurrentlyrunstheoriginalcounties,ruralroutes;Simon,stationmain,Yibincity,acrossthecity,acrosstheprovinceandtotheWestofrangeline.Yibincityhi
7、ghwaymainstationdistributiontable3.1-6stationnamegradeaccountedfortoarea(m2)Gao35概述单片机进入我国已20多年了,随着科学技术的发展,计算机技术的普及,单片机已经成为工科院校的一门技术基础课。1.1Keil软件的安装1、将带有Keil安装软件的光盘放入光驱,或者从Keil官方网站上下载安装软件,双击setup.exe,进入安装,如图1.1所示;图1.12、单击“Next”按钮;图1.23、选中复选框,单击“Next”按钮;NorthGateSt
8、ationandallthelongdistanceIntercity,TRANS-provincelines;NorthGateStationcurrentlyrunstheoriginalcounties,ruralroutes;Simon,stationmain,Yibincity,acrosst