汇编网首页登录博客注册
lcf20092009的学习博客
博客首页博客互动【做检测题】论坛求助

我的博客

个人首页 |  我的文章 |  我的相册 |  我的好友 |  最新访客 |  文章收藏 |  论坛提问 |  友情链接 |  给我留言  
图片载入中
学习动态
友情链接

[2009-12-27 22:47] 实验8 一个奇怪的程序分析(上机分析详解)

实验8 一个奇怪的程序分析

assume cs:code
code segment
mov ax,4c00h
int 21h

start:mov ax,0
s:nop
nop
mov di,offset s
mov si,offset s2
mov ax,cs:[si]
mov cs:[di],ax
s0:jmp short s
s1:mov ax,0
int 21h
mov ax,0
s2:jmp short s1
nop
code ends
end start
1)程序运行前请思考,程序可以正确返回吗?
2)程序运行后请思考,为什么是这样?...
阅读全文 | 评论次数(0) | 浏览次数(411) | 所属类型(简单但经典的程序)
页码数(1):  1