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

我的博客

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

[2008-05-03 10:07] 实验4,[bx]和LOOP的使用

1、向内存0:200-0:23f依次传送数据0-63(3fh)
assume cs:code
code segment
     mov ax,0020h
     mov ds,ax
     mov bl,0
     mov cx,36h
s:   mov [bx],bl
     inc bl
     loop s
     mov ax,4c00h
     int 21h
code ends
end
(3) 下面的程序的功能是将“mov ax,4c00h”之前的指令复制到内存0:200处,补全程序。上机调试,跟踪运行结果。

assume cs:code
code segment
     mov ax,code  ;code为所填写的数据
     mov ds,ax
     mov ax,0020h
     mov es,ax
     mov bx,0
     mov cx,18h   ;18h为所填写的数据
s:   mov al,[bx]
     mov es:[bx],al
     inc bx
     loop s
     mov ax,4c00h
     int 21h
code ends
end
评论次数(3)  |  浏览次数(611)  |  类型(汇编作业) |  收藏此文  | 

[  游客   发表于  2008-05-03 11:31  ]

mov cx,36 
---
应该是36h。

[  mess   发表于  2008-05-03 11:35  ]

36h?
----题目中说:依次传送数据0-63(3fh)0-63(3fh) 
难道不是(3fH+1)

[  sunbird333   发表于  2008-12-09 01:02  ]

64..
or
40h..

 
 请输入验证码  (提示:点击验证码输入框,以获取验证码