- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
8086汇编措辞上机试验试验二PB(国外英文资料)
8086汇编语言上机实验实验二PB(国外英文资料)
Experiment (A) please write a program that displays What is your name on the screen. After you enter your name XXX from the keyboard, the screen displays My name isXXX.. The function of displaying the string on the screen is designed to be a subroutine that can be called by any other program. (hint: keyboard input to the buffer, using the 0AH number DOS function call)
(1) algorithmic thinking of programs
The program is divided into two modules, MOD1 and MOD2. The program is mainly located in the entrance of MOD1, in which the implementation of segment register module, output module initialization, the calculation of MOD2 entrance parameters DISP, 0AH, 21H, DOS interrupt function call to realize the input string from the keyboard, OUTPUT_STRING remote procedure call MOD2 call execution string output, return DOS system operation. MOD2 accepts the parameter DISP from the MOD1, modifies the output function entry parameter with it, and then uses the 09 function call of the 21H number DOS interrupt to complete the string output.
The rest of the basic algorithms dont do much of the talking, and heres how to put the full stop at the right place after the output name (the string in the buff).
When we call the 0A function call of 21H interrupt, the entry parameter is the first address of the DS:DX= buffer (here is the address offset of the BUFF). Before using the buffer, in order to facilitate output, we have the entire buffer except the flag bits (0, 1 bits), and the others are initialized to the end of the function call number 09. The end of the symbol $ (ASCII = 24H)
The rules for storing data in the buffer are as follows (assuming that the input string is my name pyxiao):
Fourteen
06
Seventy
Seventy-nine
Seventy-eight
Sixty-nine
Sixty-one
6F
0D
Twenty-four 89
Shown here in the buffer address is No. 0 subscript is a storage unit to start, put is 16 hexadecimal number, the number 0 is on the number of bytes of 14H=20D buffer maximum cach
您可能关注的文档
- (人教版)小学四年级(四舍五进)教授教化方法(国外英文资料).doc
- (人教版)初中罕见白话虚词的用法回结(国外英文资料).doc
- (优良母亲扮演的角色)(国外英文资料).doc
- (could可以看作是can的以前式(国外英文资料).doc
- (高中英语词汇教授教化)(国外英文资料).doc
- (必修)《心思学》课程功课评讲(2(国外英文资料).doc
- 003短时记忆(国外英文资料).doc
- 01言语行动实际评述(国外英文资料).doc
- 040BG-II型塑料瓶包装联动线标准操纵规程(国外英文资料).doc
- 0610GRE填空真题解析(国外英文资料).doc
- 8A Unit 3词组、句型及语法复习提纲(国外英文资料).doc
- 8A Unit 3词组语法温习提纲(国外英文资料).doc
- 8.连词考点骗局题(国外英文资料).doc
- 8AUNIT1描述词比拟级和第一流专项演习(国外英文资料).doc
- 8、英语人称代词和物主代词演习题(国外英文资料).doc
- 8十三岁的际遇学案(国外英文资料).doc
- 8A Unit3Grammar(国外英文资料).doc
- 6.2015继承教导谜底--2015年微观经济形式与经济政策解读(国外英文资料).doc
- 9号∮5.5×8.5m溢流型球磨机技术操作标准(国外英文资料).doc
- 9年级以前式以前分词(国外英文资料).doc
文档评论(0)