assume cs:code,ds:data
data segment
input_1 db 'hello world', 13, 10, '$'
data ends
code segment
start: mov ax, data
mov ds, ax
mov dx,offset input_1
mov ah, 09h
int 21h
mov ax, 4c00h
int 21h
code ends
end start
汇编输出helloworld,可换行,字符必须以‘$‘结尾
最新推荐文章于 2026-06-21 20:45:20 发布

2758

被折叠的 条评论
为什么被折叠?



