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

我的博客

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

[2012-08-30 02:57] 检测点10.5(1)的分析

分析

assume cs:code 
 
stack segment 
        dw 8 dup(0) 
stack ends 
code segment 
start: 
        mov ax, stack 
        mov ss, ax 
        mov sp, 16 
        mov ds, ax 
        mov ax, 0 
        call word ptr ds:[0EH] 
        inc ax 
        inc ax 
        inc ax 
code end...
阅读全文 | 评论次数(1) | 浏览次数(209) | 所属类型(默认类型)

[2012-08-30 02:51] 检测点10.5(2) 分析

假设程序载入后,CS=2000H  IP=0000  
assume cs:codesg  
data segment  
dw 8 dup (0)  
data ends  
codesg segment  
start:  
_________________________________________________  
2000:0000 mov ax,data  
2000:0003 mov ss,ax                     ;SS:SP=[data]:SP  
2000:0005 mov sp,16                     ...
阅读全文 | 评论次数(1) | 浏览次数(183) | 所属类型(汇编作业)