目 录
摘要 .......................................................................................................................I
第 1 章 绪论.........................................................................................................1
1.1 课题背景 ................................................................................................1
1.2 单片机的发展概述 ................................................................................1
1.3 单片机的应用领域 ................................................................................4
1.4 单片机的发展趋势 ................................................................................5
1.5 本课题研究的内容 ................................................................................6
第 2 章 硬件系统的介绍.....................................................................................7
2.1 SST89E58RD 芯片功能及原理 .............................................................7
2.2 8255 可编程并行 I/O 接口扩展.............................................................8
2.3 8255 与八位 LED 数码管的链接电路 ................................................12
2.4 LED 与单片机的链接 ..........................................................................13
2.5 键盘电路 ..............................................................................................14
2.6 蜂鸣器电路 ..........................................................................................14
2.7 本章小结 ..............................................................................................16
第 3 章 计算器程序...........................................................................................17
3.1 程序功能及存储方式介绍 ..................................................................17
3.2 主程序 ..................................................................................................18
3.3 键盘子程序 ..........................................................................................21
3.4 除法子程序 ..........................................................................................26
3.5 开根号子程序 ......................................................................................31
3.6 小数点对齐子程序 ..............................................................................36
3.7 其它子程序 ..........................................................................................38
3.8 本章小结 ..............................................................................................41
第四章 密码锁程序...........................................................................................42
4.1 程序的功能及存储方式介绍 ..............................................................42
4.2 主程序 ..................................................................................................42
4.3 读密码及改密码子程序 ......................................................................46
4.4 报警子程序 ..........................................................................................48