




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、responsible for the devel opment of company management, incl udi ng the development of settlement and settlement standards of preparation, the business unit clearing work inspection and guidance, business settlement audit; 23, is in charge of the company business and costs calcul ation and analysis
2、of new projects and to develop standards and provide the basis for decisi on-making and re sponsible for the comprehe nsive economi c and technical indicators and statistics, analysis, summary and reporting; 24, the company responsible for audits of various types of business contracts, the principal
3、 of contract price (purcha se pri ce, freight, taxes, etc), payment method, payment, settlement, such as the reasonableness of the data, authenticity, accuracy; 25, strict enforcement of national tax policy, is responsible for the monthly reporting, incl udi ng tax cal culations, statistics, go thro
4、ugh the relevant formalities, receive invoices; 26, the company responsible for all kinds of price (including productprice, material pricefreight, engineering machi nery jobs price, price, price) s terms of market surveys, quotations, price exception report; 27, is responsible for the companys manag
5、ement, including conference organized by price, of historical pri ces, totals, etc; 28, a ccording to the annual operating plan, annual costand undergo decomposition, control, analysis and evaluation; responsible for costing and cost control, ensure accounting number is reasonable, corre ct, and com
6、plete accounting report and the companys other reports compiled and reported to work;信息与通信工程学院微机原理软件实验报告班级:2012211103 姓名:申宇飞学号:2012210064 日期:2014 年 11 月responsible for the devel opment of company management, including the development of settlement and settlement standards of preparation, the busines
7、s unit cleari ng work inspection and guidance, business settlement audit; 23, is in charge of the company business and costs calculati on and analysis of new projects and to develop standards and provide the basis for decisi on-making and responsible for the comprehensive economic and te chnical ind
8、icators and statistics, analysis, summary and reporting; 24, the company responsible for audits of various types of business contracts, the principal of contract price (purcha se pri ce, freight, taxes, etc), payment method, payment, settlement, such as the reasonableness of the data, authenticity,
9、accuracy; 25, strict enforcement of national tax policy, is responsible for the monthly reporting, incl udi ng tax calculations, statistics, go through the relevant formalities, receive invoices; 26, the company responsible for all kinds of price (includi ng pr oduct price, material pricefreight, en
10、gineering machi nery jobs price, price, price) s terms of market surveys, quotations, price exception report; 27, is responsible for the companys management, including conference organized by pri ce, of historical prices, t otals, etc; 28, a ccording to the annual operating plan, annual costs and un
11、dergo decomposition, control, analysis and evaluation; responsible for costing and cost control, ensure accounting number is reasonable, corre ct, and complete accounting report and the companys other reports compiled and reported to work;微机原理软件实验申宇飞第i页实验一 debug 的使用 . 3一、实验目的 . 3二、实验内容 . 3三、预习思考 . 5
12、四、实验过程 . 6五、实验总结 . 10实验二分支、循环程序设计 . . 11一、实验目的 . 11二、实验内容 . 11三、预习思考 . 11四、实验过程 . 13(一)流程图 . 13(二)源代码 . 14(三)实验分析 . 18五、实验总结 . 18实验三代码转换程序设计 . . 20一、实验目的 . 20二、实验内容 . 20三、预习思考 . 20四、实验过程 . 21(一)流程图 . 21(二)模块层次图 . 21responsible for the devel opment of company management, incl udi ng the development o
13、f settlement and settlement standards of preparation, the business unit clearing work inspection and guidance, business settlement audit; 23, is in charge of the company business and costs calcul ation and analysis of new projects and to develop standards and provide the basis for decisi on-making a
14、nd re sponsible for the comprehe nsive economi c and technical indicators and statistics, analysis, summary and reporting; 24, the company responsible for audits of various types of business contracts, the principal of contract price (purcha se pri ce, freight, taxes, etc), payment method, payment,
15、settlement, such a s the reasonableness of the data, authenticity, accuracy; 25, strict enforcement of national tax policy, is responsible for the monthly reporting, incl udi ng tax calculati ons, statistics, go through the relevant formalities, receive invoices; 26, the company responsible for all
16、kinds of price (including productprice, material pricefreight, engineering machi nery jobs price, price, price) s terms of market surveys, quotations, price exception report; 27, is responsible for the companys management, including conference organized by price, of historical pri ces, totals, etc;
17、28, a ccording to the annual operating plan, annual costs and undergo decomposition, control, analysis and evaluation; responsible for costing and cost control, ensure accounting number is reasonable, corre ct, and complete accounting report and the companys other reports compiled and reported to wo
18、rk;(三)源代码 . 22(四)实验分析 . 26五、实验总结 . 28实验四子程序设计 . 30一、实验目的 . 30二、实验内容 . 30三、预习思考 . 30四、实验过程 . 31(一)流程图 . 31(二)源代码 . 32(四)实验分析 . 35五、实验总结 . 37实验五中断程序设计 . 38一、实验目的 . 38二、实验内容 . 38三、预习思考 . 38四、实验过程 . 39(一)流程图 . 39(二)源代码 . 40(三)实验分析 . 47五、实验总结 . 48responsible for the devel opment of company management, in
19、cluding the development of settlement and settlement standards of preparation, the business unit cleari ng work inspection and guidance, business settlement audit; 23, is in charge of the company business and costs calculati on and analysis of new projects and to develop standards and provide the ba
20、sis for decisi on-making and responsible for the comprehensive economic and te chnical indicators and statistics, analysis, summary and reporting; 24, the company responsible for audits of various types of business contracts, the principal of contract price (purcha se pri ce, freight, taxes, etc), p
21、ayment method, payment, settlement, such as the reasonableness of the data, authenticity, accuracy; 25, strict enforcement of national tax policy, is responsible for the monthly reporting, incl udi ng tax calculations, statistics, go through the relevant formalities, receive invoices; 26, the compan
22、y responsible for all kinds of price (includi ng pr oduct price, material pricefreight, engineering machi nery jobs price, price, price) s terms of market surveys, quotations, price exception report; 27, is responsible for the companys management, including conference organized by pri ce, of histori
23、cal prices, t otals, etc; 28, a ccording to the annual operating plan, annual costs and undergo decomposition, control, analysis and evaluation; responsible for costing and cost control, ensure accounting number is reasonable, corre ct, and complete accounting report and the companys other reports c
24、ompiled and reported to work;微机原理软件实验申宇飞第3页实验一debug 的使用一、实验目的1. 掌握汇编程序的编辑、编译、连接和执行的全过程;2. 学习和掌握用debug 调试程序的方法。二、实验内容1. 用编辑软件,输入以下汇编语言源程序: dat segment a db 20 b db 15 y db 3 dup(0) z db 0,0 dat ends sta segment stack dw 50 dup(?) sta ends cod segment assume cs:cod,ds:dat star proc far push ds xor ax,
25、ax push ax mov ax,dat mov ds,ax mov ax,sta mov ss,ax mov al,a mov z,al mov z+1,al call sub1 responsible for the devel opment of company management, incl udi ng the development of settlement and settlement standards of preparation, the business unit clearing work inspection and guidance, business set
26、tlement audit; 23, is in charge of the company business and costs calcul ation and analysis of new projects and to develop standards and provide the basis for decisi on-making and re sponsible for the comprehe nsive economi c and technical indicators and statistics, analysis, summary and reporting;
27、24, the company responsible for audits of various types of business contracts, the principal of contract price (purcha se pri ce, freight, taxes, etc), payment method, payment, settlement, such a s the reasonableness of the data, authenticity, accuracy; 25, strict enforcement of national tax policy,
28、 is responsible for the monthly reporting, incl udi ng tax calculati ons, statistics, go through the relevant formalities, receive invoices; 26, the company responsible for all kinds of price (including productprice, material pricefreight, engineering machi nery jobs price, price, price) s terms of
29、market surveys, quotations, price exception report; 27, is responsible for the companys management, including conference organized by price, of historical pri ces, totals, etc; 28, a ccording to the annual operating plan, annual costs and undergo decomposition, control, analysis and evaluation; resp
30、onsible for costing and cost control, ensure accounting number is reasonable, corre ct, and complete accounting report and the companys other reports compiled and reported to work; mov al,b mov z,al mov z+1,al call sub1 mov al,a mov z,al mov al,b mov z+1,al call sub1 add word ptr y,ax adc byte ptry+
31、2,0 ret star endp sub1 proc mov al,z mov ah,z+1 mul ah add word ptr y,ax adc byte ptry+2,0 ret sub1 endp cod ends end star 2. 通过编译,连接形成可执行文件。3. 用 debug 将可执行文件调入,并进行调试。1) 用 d 命令观察数据区在内存中的具体内容,记录单元a 和 b 的具体地址。2) 用 u 命令对目标代码反汇编,观察反汇编后的结果。注意发现源程序的起始位置,并记录这个起始地址。3) 用 t 命令作单步跟踪调试。比较每条指令执行后的结果和原来的理解是否一致, 得
32、出程序运行的结果:它们是写在什么单元,具体内容是什么;并判断结果是否正确。 在子程序sub1 的入口处设一断点,responsible for the devel opment of company management, including the development of settlement and settlement standards of preparation, the business unit cleari ng work inspection and guidance, business settlement audit; 23, is in charge of th
33、e company business and costs calculati on and analysis of new projects and to develop standards and provide the basis for decisi on-making and responsible for the comprehensive economic and te chnical indicators and statistics, analysis, summary and reporting; 24, the company responsible for audits
34、of various types of business contracts, the principal of contract price (purcha se pri ce, freight, taxes, etc), payment method, payment, settlement, such as the reasonableness of the data, authenticity, accuracy; 25, strict enforcement of national tax policy, is responsible for the monthly reportin
35、g, incl udi ng tax calculations, statistics, go through the relevant formalities, receive invoices; 26, the company responsible for all kinds of price (includi ng pr oduct price, material pricefreight, engineering machi nery jobs price, price, price) s terms of market surveys, quotations, price exce
36、ption report; 27, is responsible for the companys management, including conference organized by pri ce, of historical prices, t otals, etc; 28, a ccording to the annual operating plan, annual costs and undergo decomposition, control, analysis and evaluation; responsible for costing and cost control,
37、 ensure accounting number is reasonable, corre ct, and complete accounting report and the companys other reports compiled and reported to work;微机原理软件实验申宇飞第5页用 g 命令执行程序。在断点处观察堆栈的内容,比较堆栈的内容和程序返回地址是否一致。4) 用 e 命令修改单元a,b 的内容 ,重新执行程序,并记录结果。5) 用 m 命令和a 命令对程序进行修改:将主程序中最后两条指令(add 和 adc) 修改为一条call sub1 指令,重新执
38、行程序。6) 退出debug 。4. 重新使用编辑软件,把源程序最后一句中的star 去掉。再次生成可执行文件,并用debug 调入内存。当使用u 命令时,显示的结果与前一次 (未加star) 的结果有何不同?三、预习思考1. 熟悉常用的debug 命令。答:常用的debug 命令如下图表所示。2. 阅读并分析程序的功能。答:程序完成的功能是计算两个数的完全平方和,即计算222abab。responsible for the devel opment of company management, incl udi ng the development of settlement and set
39、tlement standards of preparation, the business unit clearing work inspection and guidance, business settlement audit; 23, is in charge of the company business and costs calcul ation and analysis of new projects and to develop standards and provide the basis for decisi on-making and re sponsible for
40、the comprehe nsive economi c and technical indicators and statistics, analysis, summary and reporting; 24, the company responsible for audits of various types of business contracts, the principal of contract price (purcha se pri ce, freight, taxes, etc), payment method, payment, settlement, such a s
41、 the reasonableness of the data, authenticity, accuracy; 25, strict enforcement of national tax policy, is responsible for the monthly reporting, incl udi ng tax calculati ons, statistics, go through the relevant formalities, receive invoices; 26, the company responsible for all kinds of price (incl
42、uding productprice, material pricefreight, engineering machi nery jobs price, price, price) s terms of market surveys, quotations, price exception report; 27, is responsible for the companys management, including conference organized by price, of historical pri ces, totals, etc; 28, a ccording to th
43、e annual operating plan, annual costs and undergo decomposition, control, analysis and evaluation; responsible for costing and cost control, ensure accounting number is reasonable, corre ct, and complete accounting report and the companys other reports compiled and reported to work;3. 若 ss=2000h,sp=
44、ffffh, 向堆栈中压入4 字节数据后, 如何用d 命令显示压入堆栈的内?答:使用的命令是:-d 2000:fffb ,即使用段基址加偏移量查看。四、实验过程1 编译和链接形成可执行文件。a. 用 debug 命令对程序进行调试1)用 d 命令观察数据区在内存中的具体内容,记录单元a 和 b 的具体地址。2)用 u 命令对目标代码反汇编,观察反汇编后的结果。注意发现源程序的起始位置,并记录这个起始地址。responsible for the devel opment of company management, including the development of settlement
45、and settlement standards of preparation, the business unit cleari ng work inspection and guidance, business settlement audit; 23, is in charge of the company business and costs calculati on and analysis of new projects and to develop standards and provide the basis for decisi on-making and responsib
46、le for the comprehensive economic and te chnical indicators and statistics, analysis, summary and reporting; 24, the company responsible for audits of various types of business contracts, the principal of contract price (purcha se pri ce, freight, taxes, etc), payment method, payment, settlement, su
47、ch as the reasonableness of the data, authenticity, accuracy; 25, strict enforcement of national tax policy, is responsible for the monthly reporting, incl udi ng tax calculations, statistics, go through the relevant formalities, receive invoices; 26, the company responsible for all kinds of price (
48、includi ng pr oduct price, material pricefreight, engineering machi nery jobs price, price, price) s terms of market surveys, quotations, price exception report; 27, is responsible for the companys management, including conference organized by pri ce, of historical prices, t otals, etc; 28, a ccordi
49、ng to the annual operating plan, annual costs and undergo decomposition, control, analysis and evaluation; responsible for costing and cost control, ensure accounting number is reasonable, corre ct, and complete accounting report and the companys other reports compiled and reported to work;微机原理软件实验申
50、宇飞第7页其中第一个红色框框住的076ah 表示数据段的段地址,第二个红色方框框住的是a 的偏移地址,第三个红色方框框住的是b 的偏移地址。 d 指令后面跟随的是a 的地址。黄色方框框住的分别是a 和 b 的数值。3)用 t 命令作单步跟踪调试。比较每条指令执行后的结果和原来的理解是否一致,得出程序运行的结果:它们是写在什么单元,具体内容是什么;并判断结果是否正确。在子程序sub1 的入口处设一断点, 用 g 命令执行程序。在断点处观察堆栈的内容,比较堆栈的内容和程序返回地址是否一致。在执行子程序之前:responsible for the devel opment of company ma
51、nagement, incl udi ng the development of settlement and settlement standards of preparation, the business unit clearing work inspection and guidance, business settlement audit; 23, is in charge of the company business and costs calcul ation and analysis of new projects and to develop standards and p
52、rovide the basis for decisi on-making and re sponsible for the comprehe nsive economi c and technical indicators and statistics, analysis, summary and reporting; 24, the company responsible for audits of various types of business contracts, the principal of contract price (purcha se pri ce, freight,
53、 taxes, etc), payment method, payment, settlement, such a s the reasonableness of the data, authenticity, accuracy; 25, strict enforcement of national tax policy, is responsible for the monthly reporting, incl udi ng tax calculati ons, statistics, go through the relevant formalities, receive invoice
54、s; 26, the company responsible for all kinds of price (including productprice, material pricefreight, engineering machi nery jobs price, price, price) s terms of market surveys, quotations, price exception report; 27, is responsible for the companys management, including conference organized by pric
55、e, of historical pri ces, totals, etc; 28, a ccording to the annual operating plan, annual costs and undergo decomposition, control, analysis and evaluation; responsible for costing and cost control, ensure accounting number is reasonable, corre ct, and complete accounting report and the companys ot
56、her reports compiled and reported to work;第一个红色方框框住的是call sub1 指令的位置和指令的内容。第二个红色方框 g 指令后面跟随的就是该断点的地址。单步执行后:可以在图中看到第一个红色方框显示的是子程序执行之前执行到的代码的地址。第二个红色方框显示的是子程序开始调用后代码执行的地址。显然此时前一步的cs 和 ip 内容已经压栈,并且cs 和 ip 指向了子程序的地址。4)用 e 命令修改单元a,b 的内容 ,重新执行程序,并记录结果。responsible for the devel opment of company management
57、, including the development of settlement and settlement standards of preparation, the business unit cleari ng work inspection and guidance, business settlement audit; 23, is in charge of the company business and costs calculati on and analysis of new projects and to develop standards and provide th
58、e basis for decisi on-making and responsible for the comprehensive economic and te chnical indicators and statistics, analysis, summary and reporting; 24, the company responsible for audits of various types of business contracts, the principal of contract price (purcha se pri ce, freight, taxes, etc
59、), payment method, payment, settlement, such as the reasonableness of the data, authenticity, accuracy; 25, strict enforcement of national tax policy, is responsible for the monthly reporting, incl udi ng tax calculations, statistics, go through the relevant formalities, receive invoices; 26, the co
60、mpany responsible for all kinds of price (includi ng pr oduct price, material pricefreight, engineering machi nery jobs price, price, price) s terms of market surveys, quotations, price exception report; 27, is responsible for the companys management, including conference organized by pri ce, of his
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 产业工人赋能新质生产力
- 民族工作培训课件
- 2025年耳鼻喉科常见疾病治疗方案考核答案及解析
- 挤压的概念及实计算
- 2025年肿瘤科恶性淋巴瘤分期与治疗模拟考试卷答案及解析
- 2025年肿瘤放疗计划设计模拟考试答案及解析
- 新质生产力理论与教育
- 2025年放射科医生影像学诊断实践考核答案及解析
- 2025年儿科感染性疾病诊治知识考核试卷答案及解析
- 2025年放射科常用影像学检查技术考核模拟答案及解析
- GB/T 11376-1997金属的磷酸盐转化膜
- FZ/T 64012.2-2001水刺法非织造布第2部分:卫生用卷材
- SCI论文的写作与发表课件
- 印刷产品检验报告
- 2022年贵州省人民医院医护人员招聘笔试试题及答案解析
- “数学悖论”-辛普森悖论
- 医疗器械临床试验GCP三套考试题
- 烧结岗位安全操作培训-PPT课件
- 【课件】1.2 点线传情——造型元素之点线面 课件-2021-2022学年高中美术人美版(2019)选修绘画
- 运动处方(课堂PPT)
- 物资储备与物流方案
评论
0/150
提交评论