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

我的博客

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

[2009-03-23 15:51] 实验四

点击查看原图
assume cs:code
code segment
    mov ax,20h
    mov ds,ax
    mov bx,0
    mov cx,64
D1: mov [bx],bx
    inc bx
    loop D1
    mov ax,4c00h
    int 21h
code ends
end
用九条指令实现向0:200~0:23f中依次传送数据0~63。我在DEBUG中看到如图的内容。说明MOV [bx],bx是可行的。...
阅读全文 | 评论次数(2) | 浏览次数(445) | 所属类型(汇编作业)

[2009-03-23 13:31] 实验三

点击查看原图
assume cs:codesg
codesg segment
     mov ax,2000h
     mov ss,ax
     mov sp,0
     add sp,10 
     pop ax
     pop bx
     push ax
     push bx
     pop ax 
     pop bx
     
  mov ax,4c00h
  int 21h
codesg ends
end
程序如上,用DEBUG跟踪时发现(DS)=0B45,则PSP的地址为0B45:0,程序地址为0B55:0....
阅读全文 | 评论次数(1) | 浏览次数(421) | 所属类型(汇编作业)