程序调试实验1Word格式文档下载.docx
- 文档编号:15118213
- 上传时间:2022-10-27
- 格式:DOCX
- 页数:8
- 大小:16.08KB
程序调试实验1Word格式文档下载.docx
《程序调试实验1Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《程序调试实验1Word格式文档下载.docx(8页珍藏版)》请在冰豆网上搜索。
STRING2DB'
IAMASTUDENT'
YESDB'
MATCH!
'
13,10,'
$'
NODB'
NOMATCH!
DATAREAENDS
CODESEGMENT
MAINPROCFAR
ASSUMECS:
CODE,DS:
DATAREA,ES:
DATAREA
START:
PUSHDS
SUBAX,AX
PUSHAX
MOVAX,DATAREA
MOVDS,AX
MOVES,AX
LEASI,STRING1
LEADI,STRING2
CLD
MOVCX,STRING2-STRING1
REPZCMPSB
JZMATCH
LEADX,NO
JMPSHORTDISP
MATCH:
LEADX,YES
DISP:
MOVAH,9
INT21H
RET
MAINENDP
CODEENDS
ENDSTART
Microsoft(R)MacroAssemblerVersion5.00
Copyright(C)MicrosoftCorp1981-1985,1987.Allrightsreserved.
Objectfilename[SOSO.OBJ]:
Sourcelisting[NUL.LST]:
Cross-reference[NUL.CRF]:
50096+450784Bytessymbolspacefree
0WarningErrors
0SevereErrors
Microsoft(R)OverlayLinkerVersion3.60
Copyright(C)MicrosoftCorp1983-1987.Allrightsreserved.
RunFile[421.EXE]:
ListFile[NUL.MAP]:
Libraries[.LIB]:
LINK:
warningL4021:
nostacksegment
-U0
0B7C:
00001EPUSHDS
00012BC0SUBAX,AX
000350PUSHAX
0004B8780BMOVAX,0B78
00078ED8MOVDS,AX
00098EC0MOVES,AX
000B8D360000LEASI,[0000]
000F8D3E0E00LEADI,[000E]
0013FCCLD
0014B90E00MOVCX,000E
0017F3REPZ
0018A6CMPSB
00197406JZ0021
001B8D162500LEADX,[0025]
001FEB04JMP0025
-U
00218D161C00LEADX,[001C]
0025B409MOVAH,09
0027CD21INT21
0029CBRETF
002ADB0E8D872E4BESC19,[878D]TBYTEPTR[4B2E]
00308B9F2E4BMOVBX,[BX+4B2E]
0034C1DBC1
0035E302JCXZ0039
00378B36B452MOVSI,[52B4]
003B8B08MOVCX,[BX+SI]
003D8BD8MOVBX,AX
003F894F0CMOV[BX+0C],CX
-T=0
AX=0000BX=0000CX=006ADX=0000SP=FFFEBP=0000SI=0000DI=0000
DS=0B68ES=0B68SS=0B78CS=0B7CIP=0001NVUPEIPLNZNAPONC
-T
DS=0B68ES=0B68SS=0B78CS=0B7CIP=0003NVUPEIPLZRNAPENC
AX=0000BX=0000CX=006ADX=0000SP=FFFCBP=0000SI=0000DI=0000
DS=0B68ES=0B68SS=0B78CS=0B7CIP=0004NVUPEIPLZRNAPENC
AX=0B78BX=0000CX=006ADX=0000SP=FFFCBP=0000SI=0000DI=0000
DS=0B68ES=0B68SS=0B78CS=0B7CIP=0007NVUPEIPLZRNAPENC
DS=0B78ES=0B68SS=0B78CS=0B7CIP=0009NVUPEIPLZRNAPENC
DS=0B78ES=0B78SS=0B78CS=0B7CIP=000BNVUPEIPLZRNAPENC
000B8D360000LEASI,[0000]DS:
0000=2049
DS=0B78ES=0B78SS=0B78CS=0B7CIP=000FNVUPEIPLZRNAPENC
000F8D3E0E00LEADI,[000E]DS:
000E=2049
AX=0B78BX=0000CX=006ADX=0000SP=FFFCBP=0000SI=0000DI=000E
DS=0B78ES=0B78SS=0B78CS=0B7CIP=0013NVUPEIPLZRNAPENC
DS=0B78ES=0B78SS=0B78CS=0B7CIP=0014NVUPEIPLZRNAPENC
-DDS:
0B78:
00004920414D20412054-4541434845524920IAMATEACHERI
0010414D204120535455-44454E544D415443AMASTUDENTMATC
002048210D0A244E4F20-4D41544348210D0AH!
..$NOMATCH!
..
00302400000000000000-0000000000000000$...............
00401E2BC050B8780B8E-D88EC08D3600008D.+.P.x......6...
00503E0E00FCB90E00F3-A674068D162500EB>
........t...%..
0060048D161C00B409CD-21CBDB0E8D872E4B........!
......K
00708B9F2E4BC1E3028B-36B4528B088BD889...K....6.R.....
-Q
DATASEGMENT
BUF1DB0F6H
BUF2DB?
DATAENDS
PROGRAMSEGMENT
PROGRAM,DS:
DATA
MOVAX,DATA
MOVBX,OFFSETBUF1
MOVDI,OFFSETBUF2
MOVAH,[BX]
ORAH,AH
JZZERO
JLMINUS
MOVAH,01H
JMPASSIGN
ZERO:
MOVAH,00H
MINUS:
MOVAH,0FFH
ASSIGN:
MOV[DI],AH
PROGRAMENDS
RunFile[SOSO.EXE]:
0B79:
0021A4MOVSB
002207POPES
0023398
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 程序 调试 实验
![提示](https://static.bdocx.com/images/bang_tan.gif)