📄 ddrr.asm
字号:
code segment
assume cs:code ,ds:code
org 100h
xfcb db 50h dup(0)
dta db 33h dup(0)
db '$'
start:mov ax,0
push ax
mov ax,code
mov ds,ax
push ds
pop es
mov di ,offset xfcb
mov ax,0ffh
stosb
xor ax,ax
stosw
stosw
stosb
mov al,10h
stosb
inc di
mov cx,0bh
mov al,'?'
rep stosb
mov dx,offset dta
mov ah,1ah
int 21h
mov dx,offset xfcb
mov ah,11h
int 21h
lop: mov dx,offset dta
mov ax,dx
add ax,14h
mov di,ax
add dx,8
mov al,24h
stosb
mov ax,0900h
int 21h
mov dl,0dh
mov ah,2
int 21h
mov dl,0ah
mov ah,2
int 21h
mov dx,offset xfcb
mov ax,1200h
int 21h
cmp al,00
jz lop
mov ah,01h
int 21h
mov ax,4c00h
int 21h
code ends
end start
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -