写一个程序在屏幕上依次循环显示10个数字符号,每行显示13个,显示两行:
0123456789012
3456789012345
这是我编的 可惜 希望哪位仁兄 帮忙看看
cseg segment
assume cs:cseg
start: mov cx,0
mov bx,0
next1: mov dx,bx
mov ax,9
int 21h
inc bx
inc cx
cmp cx,13
jz next2
cmp cx,26
jz next3
cmp bx,'9'+1
jnz next1
xor bx,bx
jmp next1
next2: push ax
push dx
mov dl,0dh
mov ah,2
int 21h
mov dl,0ah
mov ah,2
int 21h
pop dx
pop ax
jmp next1
next3: mov ah,4ch
int 21h
cseg ends
end start