实验二指示灯开关控制器
洛阳理工学院实验
系别 计算机与信班级 学号 姓名
息工程系
课程名称 单片机原理及应用——基于Proteus和实验日期 2014.3.25
Keil C
实验名称 指示灯/开关控制器 成绩 实验目的:
学习51单片机I/O口基本输入/输出功能,掌握汇编语言与调试方法。
实验条件:(1)需要有Protues和µVision4软件;(2)提交实验报告并包括如下
:电路原理图、软件流程分析、汇编语言程序(含注释部分0、仿真运行截图及试验小结)。
实验内容:
(1)熟悉ISIS模块的汇编程序编辑、编译与调试过程;
(2)完成实验二的汇编语言程序
与编译
(3)练习ISIS汇编程序调试方法,并最终实现实验二的预期功能。 实验步骤:
1.启动ISIS模块
2.选择元器件
The rectification measures: (LED Leadership: Luo Mingjun, rectification time: before September 25th, 1, long-term adherence) to solve the problem of lack of awareness of the harm of Party cadres the "four winds". To further strengthen education and guidance on the implementation of the central eight provisions, the provincial nine provisions of the county committee of the "ten provisions" extensive publicity, eliminate thoughtBarriers
3.摆放元器件(除了晶振)
4.连线图
5.打开µVision4软件
(1)建立新的工程,新建文件,编写汇编语言,并将文件保存为汇编语言文
件格式Proteus_shiyan2.asm,最后创建Proteus_shiyan2.hex文件
The rectification measures: (LED Leadership: Luo Mingjun, rectification time: before September 25th, 1, long-term adherence) to solve the problem of lack of awareness of the harm of Party cadres the "four winds". To further strengthen education and guidance on the implementation of the central eight provisions, the provincial nine provisions of the county committee of the "ten provisions" extensive publicity, eliminate thoughtBarriers
6.结果图
实验总结:
通过实验熟悉了ISIS模块的汇编程序编辑、编译与调试过程;完成了实验
二的汇编语言程序设计与编译,会ISIS汇编程序调试方法,并最终实现实验二
的预期功能。能够对µVision4熟练使用。以后应多上机练习,多写写程序、多调试。
The rectification measures: (LED Leadership: Luo Mingjun, rectification time: before September 25th, 1, long-term adherence) to solve the problem of lack of awareness of the harm of Party cadres the "four winds". To further strengthen education and guidance on the implementation of the central eight provisions, the provincial nine provisions of the county committee of the "ten provisions" extensive publicity, eliminate thoughtBarriers