- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Chapter 13 16- Bit MS-DOS Programming.ppt
this text Chapter 13: 16-Bit MS-DOS Programming 13.1 MS-DOS and the IBM-PC History Use of the segment registers Redirecting output Memory organization Software (and hardware) interrupts 13.2 MS-DOS Function calls (INT 21h) 13.3 Standard MS-DOS File I/O services 13.1 History The Intel 8088 and 8086 were some of the first microprocessors with 16 bit registers. The only significant difference: 8086 used a 16 bit memory bus - faster memory access 8088 used a 8 bit memory bus - cheaper memory system They could address 1 MByte of memory. Previous chips typically only could use 64KByte of memory 80386 has the first 80x86 with a 32 bit bus 13.1 Segment registers While the 8088 and 8086 16 bit registers, they used 20 bit addresses How? Segment registers Example CS (code segment) 0123 h Instruction offset 48ACh 13.1 Software InterruptsRedirection of I/O DOS permits UNIX style redirection of the standard I/O devices. MyProg COM1 PTRThis means get the input from COM1, send the output to PTR. We can use files as the standard input or output devices. MyProg Input.txt Output.txt 13.1 Software InterruptsStandard DOS Device Names The standard input and output device is CON, the console which consists of the keyboard and monitor. DOS can be instructed to redirect I/O from the standard input and output devices to other units. 13.1 Software InterruptsStandard DOS Device Names Device Name Description CON console keyboard and monitor LPT1 or PTR 1st parallel printer LPT2 2nd parallel printer AUX or COM1 1st serial port COM2, COM3, COM4 2nd – 4th serial port NUL Dummy device 13.1 Memory organization CS - Points to code segment SS - Points to stack segment DS - Points to data segmen
您可能关注的文档
- 2014年中考历史专题复习中外历史上的重大改革.ppt
- 226有效教学内涵.ppt
- 2导数的几何意义.ppt
- 3. b p m f.ppt
- 4–.ppt
- 46-320-01Tests and Measurements.ppt
- 518人力银行.ppt
- 7-Segment Display and Count by 16.ppt
- 7.4 利用轴对称设计图案.ppt
- A 16-Bit Invertible Architecture for H.26L.ppt
- Chapter 13 Accounting for Inflation & Changing Prices.ppt
- Chapter 13 Configuration Management.ppt
- Chapter 13 Conflict at Work.ppt
- Chapter 13 Conjugated p-Systems.ppt
- Chapter 13 Defect Prevention & Process Improvement.ppt
- Chapter 13 Delegating.ppt
- Chapter 13 Financial Policy.ppt
- Chapter 13 Knowledge Acquisition and Validation.ppt
- Chapter 13 Leadership.ppt
- Chapter 13 Multiple Regression Analysis.PPT
文档评论(0)