戏++ 发表于 2013-12-14 15:55:04

检测点6.1 为啥只能复制前12个字节,后面4个字节不对

;检测点6.1
;(1)下面的程序实现依次用内存0:0~0:15单元中的内容改写程序中的数据,完成程序:
assume cs:codesg
codesg segment
      dw 0123h,0456h,0789h,0abch,0defh,0fedh,0cbah,0987h ;程序载入后-d cs:0 可以看到这段数据
start:mov ax,0   ;u cs:ip可以查看偏移地址0010
      mov ds,ax
      mov bx,0
      mov cx,8
    s:mov ax,
      mov cs:,ax
      add bx,2
      loop s
      mov ax,4c00h
      int 21h
codesg ends
end start



页: [1]
查看完整版本: 检测点6.1 为啥只能复制前12个字节,后面4个字节不对