《微型计算机原理及应用》课程设计-简易计算器的设计.doc

《微型计算机原理及应用》课程设计-简易计算器的设计.doc

  1. 1、本文档共19页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
《微型计算机原理及应用》课程设计 简易计算器的设计 姓名 陈** 院系 信息学院自动化系 班级 **** 学号 200911****** 时间 2011年 12月 29日 目 录 摘要 I introduction 1 课程设计目的与任务 1 1.1 设计目的 1 1.2 设计任务 1 2 基本要求 1 3 简易计算器的设计 0 3.1 程序设计流程图 0 3.2 程序基本算法 1 3.3 程序源代码 1 3.4 程序调试 8 4 课程设计总结与心得 11 参考文献 12 摘要 本次课程设计是通过使用emu8086汇编语言编程软件实现较复杂程序的设计。该课程设计的内容为采用汇编语言设计一个简易计算器,界面显示要求用键盘分别输入两个随机数,完成加法,减法,乘法和除法的运算,然后将运算结果显示出来。该设计只能运行简单正整数间的单步加减乘除运算,不能识别小数。除法中的结果可以精确到3位小数,减法可以显示负数的结果。采用DOS调用(INT 21H)来完成输入和输出,输出字符串操作。通过这次设计实践能够进一步加深对专业知识和理论知识学习的认识和理解,使自己的设计水平和对所学的知识的应用能力以及分析问题解决问题的能力得到全面提高。 关键词:微机原理;计算器;汇编 introduction This course is designed to through the use of emu8086 assembly language programming software to realize complex program design. The content of the course design for the assembly language design a simple calculator, interface display with the keyboard input requirements are two random number, complete the addition, subtraction, multiplication, and division of the operation, and then will operation result shows it. This design can only easy operation between the positive integer single step add, subtract, multiply and divide operation, can't identify decimal. The result in the division accurate to 3 decimal places, subtraction can display the negative results. Using DOS call (INT 21 H) to complete the input and output, the output string operation. This design practice can further deepen the theoretical knowledge of professional knowledge and learning the understanding and the understanding, make oneself of the design level of knowledge and the application ability and the ability to analyse and solve questions fully improve. Keywords: Microcomputer principle;calculator;Assembly language 简易计算器的设计 自动****,200911*****,陈*** 课程设计目的与任务 设计目的 为了使学生加深对所学的微机原理知识的理解,培养学生的专业素质,提高其利用微机原理知识处理问题的能力,为今后专业课程的学习、毕业设计和工作打下良好的基础。使学生能比较扎实地掌握微机原理的基础知识和基本理论,掌握控制系统及有关设备的分析、开发等基本技能,受到必要工程训练、初步的科学研究方法训练和实践锻练,增强分析问题和解决问题的能力,了解微机原理和接口技术的新发展。 设计任务 本次课程设计有四个任务可供选择,这里选择设计一个简易计算器,要求能正确完成加、减、乘、除四则运算。 基本要求 本次课程设计,人,可以讨论,但设计报告

文档评论(0)

报告论文库 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档