梦幻羽羽 发表于 2012-8-31 13:41:29

关于显示的问题

assume cs:code
data segment
db 'welcome to masm!',0
data ends
code segment
start:mov dh, 8
      mov dl, 3
   mov ax, data
   mov ds, ax
   mov si, 0
   call show_str
   mov ah,01h
   int 21h
   mov ax, 4c00h
      int 21h
show_str:push cx
         push dx
   
   mov ax, 0b800h
   mov es, ax
   
   mov al, 0a0h
   mul dh
   push ax
   mov al, 2
   mul dl
   pop bx
   add bx, ax
   
   mov ch, 0
show:mov cl, ds:
         jcxz return
   mov es:, cl
   mov al, 02
   mov es:, al
   add bx, 2
   inc si
   jmp short show
return:pop dx
         pop cx
   ret         
code ends
end start

为什么最后无法得到想要的结果   求助中, 谢谢

向往 发表于 2012-8-31 13:41:30

楼主你好呵呵
恭喜你通过自己的努力 把问题解决了
能不能把那1鱼币给我呢 呵呵{:5_97:}

梦幻羽羽 发表于 2012-8-31 13:59:43

呵呵 解决了

梦幻羽羽 发表于 2012-8-31 14:20:16

解决了~~~~~

梦幻羽羽 发表于 2012-8-31 18:54:49

呵呵没问题你要你拿去

向往 发表于 2012-8-31 19:34:12

梦幻羽羽 发表于 2012-8-31 18:54 static/image/common/back.gif
呵呵没问题你要你拿去

谢谢{:5_109:}
页: [1]
查看完整版本: 关于显示的问题