将0020:0 ff之间的256个内存单元清空
assume cs:code
code segment
mov ax,0020h
mov ds,ax
mov bx,0
mov cx,64
s: mov [bx],bx
inc bx
loop s
mov ax,4c00h
int 21h
code ends
end 测试通过
由此我联想到,因为经常要使用0020:0 ff这段空间测试数据,那么我就编个清0的程序方便以后分析情况,如下:
assume cs:code
code segment
mov ax,0020h
mov ds,ax
mov bx,0
mov ax,0
mov cx,256
s: mov [ax],bx
inc ax
loop s
mov ax,4c00h
int 21h
code ends
end 可是编译不通过,错误A2048:Must be index or base register
请问是怎么一回事啊?
另外麻烦大家来这里顶下,没人回复我结不了帖
http://topic.csdn.net/u/20120413/19/4f45f69d-b871-43cc-8da8-d5771051ff8f.html
相关推荐
javascript cookie解码函数(兼容ff)
javascript cookie解码函数
Thingking C++ C/C++经典图书 值得一看
C#深入浅出全接触 .rar http://down.qiannao.com/space/file/yuexingchen2/-4e0a-4f20-5206-4eab/C-002b-002b-0020-0020-00b7C-0020-0020vc/C-0023-6df1-5165-6d45-51fa-5168-63a5-89e6-0020.rar/.page C#知识类库 .rar http://down.qiannao.com/space/file/yuexingchen2/-4e0a-4f20-5206-4eab/C-002b-002b-0020-0020-00b7C-0020-0020vc/C-0023-77e5-8bc6-7c7b-5e93-0020.rar/.page C++标准程序库自修教程与参考手册 .rar http://down.qiannao.com/space/file/yuexingchen2/-4e0a-4f20-5206-4eab/C-002b-002b-0020-0020-00b7C-0020-0020vc/C-002b-002b-6807-51c6-7a0b-5e8f-5e93-81ea-4fee-6559-7a0b-4e0e-53c2-8003-624b-518c-0020.rar/.page C++核心编程技术 .rar http://down.qiannao.com/space/file/yuexingchen2/-4e0a-4f20-5206-4eab/C-002b-002b-0020-0020-00b7C-0020-0020vc/C-002b-002b-6838-5fc3-7f16-7a0b-6280-672f-0020.rar/.page C程序100例 .rar http://down.qiannao.com/space/file/yuexingchen2/-4e0a-4f20-5206-4eab/C-002b-002b-0020-0020-00b7C-0020-0020vc/C-7a0b-5e8f100-4f8b-0020.rar/.page C语言编程宝典 .rar http://down.qiannao.com/space/file/yuexingchen2/-4e0a-4f20-5206-4eab/C-002b-002b-0020-0020-00b7C-0020-0020vc/C-8bed-8a00-7f16-7a0b-5b9d-5178-0020.rar/.page C语言编程精粹 .rar http://down.qiannao.com/space/file/yuexingchen2/-4e0a-4f20-5206-4eab/C-002b-002b-0020-0020-00b7C-0020-0020vc/C-8bed-8a00-7f16-7a0b-7cbe-7cb9-0020.rar/.page C语言库函数 .rar http://down.qiannao.com/space/file/yuexingchen2/-4e0a-4f20-5206-4eab/C-002b-002b-0020-0020-00b7C-0020-0020vc/C-8bed-8a00-5e93-51fd-6570-0020.rar/.page VC技术内幕第五版 .rar http://down.qiannao.com/space/file/yuexingchen2/-4e0a-4f20-5206-4eab/C-002b-002b-0020-0020-00b7C-0020-0020vc/VC-6280-672f-5185-5e55-7b2c-4e94-7248-0020.rar/.page VC使用大全 .rar http://down.qiannao.com/space/file/yuexingchen2/-4e0a-4f20-5206-4eab/C-002b-002b-0020-0020-00b7C-0020-0020vc/VC-4f7f-7528-5927-5168-0020.rar/.page Visual C++ 6 轻松进阶 .rar http://down.qiannao.com/space/file/yuexingchen2/-4e0a-4f20-5206-4eab/C-002b-002b-0020-0020-00b7C-0020-0020vc/Visual-0020C-002b-002b-00206-0020-8f7b-677e-8fdb-9636-0020.rar/.page Visual C++应用技巧与常见问题你问我答 .rar http://down.qiannao.co
16位颜色代码
16位颜色代码,里面有图片可以参照.每个图片都有对应的代码。 还有常用的及时种颜色单独列出来
X86的IO地址空间
详细介绍了X86结构的IO地址空间的分配!!! X86的IO地址空间
C#实现字符串全角半角转换类
C#实现字符串全角半角转换类


