- 1、本文档共5页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
常用DOS功能调用程序的练习
常用DOS功能调用程序的练习
实验目的
掌握常用DOS功能调用的方法。
巩固汇编语言程序编写方法。
3、 熟悉汇编语言源程序的结构。
实验内容
利用DEBUG调试DOS系统功能调用的01H,02H熟悉中断调用的功能及使用格式。
2、 编制汇编程序:利用9号功能,在屏幕上打印GOOD MORNING!
3、 编写人机对话程序,给出运行结果(程序在课堂给出)。
程序为:向内存指定单元送10个数,并将这些数在屏幕上显示出来。
实验设备
PC机一台
实验步骤
1、利用DEBUG调试几个中断功能,并观察结果。
2、输入源程序。
3、汇编、连接程序,生成.EXE文件,执行文件,检查结果。
4、实现1号功能:
5、实现2号功能:
6、实现9号功能:
7、利用9号功能,在屏幕上输出good morning:
8、实现10号功能:
源程序:
2. Data segment
Str db ‘good morning! $’
Data ends
Code segment
Assume cs:code,ds:data
Start: mov ax,data
Mov ds,ax
Lea dx,str
Mov ah,09h
Int 21h
Mov ah,4ch
Int 21h
Code ends
End start3.Data segment
Buf db 10
Db ?
Db 10 dup(?)
Data ends
Code segment
Assume cs:code,ds:data
Start: mov ax,data
Mov ds,ax
Lea dx,str
Mov ah,0ah
Int 21h
Mov ah,4ch
Int 21h
Code ends
End start
注意键盘缓冲区如何使用,以及其中每一个字节的含义。
the same direction of rotation 90 ° or 180 ° for; after each disc rotor when measuring position alignment of the two half coupling constant, should also be in terms of accuracy and consistency. Surface deviation measurement, must in every 180 degrees corresponding to the two radii are equal to each other in order to eliminate errors caused by movement of the rotor. Only a support bearing of the rotor, WA couplings, such as the use of temporary leave the Center, should pay attention to keep the rotor in the measuring process in the center of the bearing oil retaining the nest does not change. Steam oil block, there should be sufficient clearance between the rotor and, in rotors make sure rotor is not on the block or seal oil. At the time of measurement, connections are not allowed between two rotors, each in a free State. Not allowed in case of assembled sleeve, Center work on the toothed coupling. Coupling tool should have adequate stiffness, installation must be secure and reliable. Coupling Center using a dial indicator, the table should be put in prison and avoid touching, to ensure correct measurement. C
您可能关注的文档
- 北京市西城区2015-2016学年七年级第一学期期末考试数学.doc
- 北京市石景山区2016届高三上学期期末考试生物试卷 Word.doc
- 北京市西城区2015-2016学年度第一学期九年级语文期末考.doc
- 北京市石景山区201九年级统一练习暨毕业数学试卷及答案.doc
- 北京市石景山区2015—2016学年第一学期期末考试初三物.doc
- 北京市西城区普通中学2015—2016学年度第一学期初三化.doc
- 北京市石景山区2015-2016学年初三数学上学期期末试题及.doc
- 北京市西城区200抽样测试高三政治.doc
- 北京市顺义区2015届高三上学期第一次模拟数学(文)试卷.doc
- 北京市西城区初三化学2015—2016学年度第一学期期末试.doc
- 职业技术学院2024级工业机器人技术(安装与维护)专业人才培养方案.docx
- 职业技术学院2024级应用化工技术专业人才培养方案.pdf
- 职业技术学院2024级软件技术(前端开发)专业人才培养方案.pdf
- 职业技术学院2024软件技术专业人才培养方案.docx
- 职业技术学院2024级信息安全技术应用(安全运维)专业人才培养方案.docx
- 职业技术学院2024级新能源汽车检测与维修技术(车辆鉴定与评估)专业人才培养方案.pdf
- 职业技术学院2024级石油炼制技术专业人才培养方案.pdf
- 职业技术学院2024级环境监测技术专业人才培养方案.docx
- 职业技术学院2024级汽车制造与试验技术专业人才培养方案.pdf
- 职业技术学院2024级信息安全技术应用专业人才培养方案.pdf
文档评论(0)