回 帖 发 新 帖 刷新版面

主题:菜鸟求助

有谁能帮我看一下我编的程序有什么错误是一个加密变换的0123456789                                                                   9082746315                                                                    data segment
string db '9082746315'
semt db 4 dup(?)
data ends
code segment
   assume ds:data,cs:code
   mov ax,data
   mov ds,ax
   lea bx,string
   mov cx,4
   mov di,0
start: mov ah,1
      int 21h
      sub al,30h
      xlat
      mov string[di],al
      inc di
      loop start
      mov cx,4
      mov di,0
      mov ah,2
      mov dl,13
      int 21h
      mov dl,10
      int 21h
next: mov dl,string[di]
     mov ah,2
     int 21h
     inc di
     loop next
     mov ax,4c00h
     int 21h
code ends
end start
end next

谢谢了

回复列表 (共2个回复)

沙发

首先,程序应该以end start 结束!end next 是什么意思!

板凳

loop start
loop next
end start
end next.......这是什么意思啊...

我来回复

您尚未登录,请登录后再回复。点此登录或注册