📄 0200.asm
字号:
.MODEL tiny
.CODE
org 200h
hello proc
PassBegin:
push cs
pop ds
mov di,offset Title1
call Put_Str
ret
Put_Str proc
mov al,cs:[di]
cmp al,'$'
je A1
mov ah,0eh
mov bx,0003h
int 10h
inc di
jmp Put_Str
A1:
ret
Put_Str endp
Title1 db 0ah,0dh
db 'Welcome to use ASM','$'
passtail:
Passlen equ 512-(Passtail-PassBegin)
db PassLen dup(0)
hello endp
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -