📄 prog7_9.asm
字号:
stack segment stack
dw 256 dup(?)
stack ends
data segment
buf db 10 dup(?)
data ends
code segment
assume cs:code,ds:data,ss:stack
start:mov ax,data
mov ds,ax
lea bx,buf
mov cx,10
sti
next:push cx
mov ah,0
int 1ah
mov al,dl
cbw
mov dl,5
div dl
mov [bx],al
inc bx
pop cx
loop next
mov ah,4ch
int 21h
code ends
end start
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -