汇编 – 我的.exe程序不是我的预期
发布时间:2020-09-21 16:46:14 所属栏目:Windows 来源:互联网
导读:我的masm源文件如下: qq.asm assume cs:codesegmentcodesegment segmentmov ax, 0ffffhmov ds, axmov al, 00ffhmov bx, 0006hmov [bx], almov al, [0006]mov ah, 0mov dx, 0mov cx, 3s: add dx, axloop smov a
我的masm源文件如下: qq.asm assume cs:codesegment codesegment segment mov ax,0ffffh mov ds,ax mov al,00ffh mov bx,0006h mov [bx],al mov al,[0006] mov ah,0 mov dx,0 mov cx,3 s: add dx,ax loop s mov ax,4c00h int 21h codesegment ends end 我使用masm程序生成一个名为qq.exe的.exe文件.当我使用debug qq.exe -u时,教师如下图所示: 我混淆了我的qq.asm中的“mov al,[0006]”指导员在qq.exe中转向“mov AL,06”. mov al,ds:[0006] (编辑:岳阳站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |