欢迎来到天天文库
浏览记录
ID:148879
大小:3.52 MB
页数:22页
时间:2017-06-27
《微机原理与接口技术-课后答案-周锋》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、21.8086CPU16CPU168086CPU8086CPU16162.8086CPUBusInterfaceUnitBIUExecutionUnitEUBIUEUBIUCPU3.8086CPU8168086AXBXCXDX168808684.8086CPUIPIPIPCS8086IP5.CFPFAFZFSFOFCFCF=1CF=0PF1PF=1PF=0AF4AF=1AF=0ZFZF=1ZF=0SFOFOF=1OF=06.81190H+3CH23CH-90H37DH-9CH1CCHCF=0PF=1AF=0ZF=0SF=1OF=0CCHCF=
2、0PF=1AF=0ZF=0SF=1OF=02ACHCF=1PF=1AF=0ZF=0SF=1OF=1ACHCF=1PF=1AF=0ZF=0SF=1OF=03E1HCF=1PF=1AF=0ZF=0SF=1OF=1E1HCF=1PF=1AF=0ZF=0SF=1OF=07.10000H22Bb012H1004H-10420H12345678H0122Bb01002H32H42H62H30H000H212H1004H-1010000H12H04HFFH00H10001H00H10HFFH00H3420H12345678H010001H20H78H00H
3、10002H04H56H00H10003H00H34H00H10004H00H12H00H8.8086CPU8086CPU2020bit8086202B=1MB9.8086808616162=64KB80861616010H10.211.8086CPU12.8086BIU4CSDSSSESCPU4413.CS=7F00HIP=017CHCS*10H+IP=7F00H*10H+017CH=7F000H+017CH=7F17CH14.DS=5C00HES=5D10H63654HDSESDSIP=63654H-DS*10H=63654H-5C000
4、H=7654HESIP=63654H-ES*10H=63654H-5D100H=6554H15.I/O8086CPUI/O168086I/O2=64KB16808616I/O16.Intel321611616321682IP1632EIP316FSGS4Flags1632EFLAGS32161632Intel17.3218086808623380868086808680861680863218.4KB31.2.3.4.MOVAX420HMOV[BX]SIMOVAX[90]MOV[DI+90]AHMOVAL[BP+SI+20]1)MOVAX,4
5、20H2)MOV[BX],SI3)MOVAX,[90]4)MOV[DI+90],AH5)MOVAL,[BP+SI+20]1)MOVAX,420H42)MOV[BX],SI3)MOVAX,[90]4)MOV[DI+90],AH5)MOVAL,[BP+SI+20]5.MOVAX[SI+20H]MOVAL[1000H]MOVAXES:[BX][SI]MOVAX[BP+1234H]1DS2DS3ES4SS6.BX=2010HDI=0FFF0HBP=420HMOVAX[2345H]MOVAX[BX]MOVAXES:[DI+200]MOVAXDS:[BP
6、+DI]MOVAX[BX+DI+114H]1)MOVAX,[2345H]2345H2)MOVAX,[BX]2010H3)MOVAX,ES:[DI+200]0B8H4)MOVAX,DS:[BP+DI]410H5)MOVAX,[BX+DI+114H]2114H7.MOV1MOVALU2MOVCS8.808680868086SSSPSPSSSP0SPSP9.SS=0FF00HSP=00B0H8086H0F20HPUSHPOPPUSH
7、
8、0FF00HSS5
9、20H
10、0FFACHSP
11、0FH
12、0FFADH
13、86H
14、0FFAEH
15、80H
16、0FFAFHPO
17、P
18、
19、0FF00HSS
20、86H
21、0FFAEHSP
22、80H
23、0FFAFH10.BXSICXLEACX[BX+SI]11.CFZFOFSFMOVBX40ABHADDBL09CHMOVAL0E5HCBWADDBHALSBBBXAXADCAX20HSUBBH9MOVBX40ABH;40ABHBXADDBL09CH;9CHABH47HBLCF=1ZF=0;OF=1SF=0MOVAL0E5H;E5HALCBW;ALAXFFE5HADDBHAL;ALE5HBH40H25HBH;CF=1ZF=0OF=1SF=0SBBBXAX;BX2547HAXFFE5H;C
24、F=12561HBXCF=1ZF=0OF=1SF=0ADCAX20H;AXFFE5H20HCF=10006H;AXCF=1ZF=0OF=1SF=0SUBBH9;BH
此文档下载收益归作者所有