回 帖 发 新 帖 刷新版面

主题:新手,大家帮忙一下,

我想用DEBUG工具显示HELLO WORD
以下是代码
debug hello.com
a 100
jmp 111
db 'hello,world!$'
nop
nop
mov bx,1
mov ax,0102
mov ds,ax
mov cx,d
mov dx,0102
mov ah,40
int 21
mov ax,4c00
int 21

rcx
28
w

但是输出不是我要的,是乱码, 高手指教一下,多谢

回复列表 (共1个回复)

沙发

debug hello.com
a
mov dx,10b
mov ah,09
int 21
mov ah,4c
int 21
db 'Hello,world!$'

rcx
18
w
q

我来回复

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