[求助]用循环完成在屏幕显示“九九表”的功能
麻烦哪位看一下怎么才能在屏幕上用循环结构完成"九九表"的功能
一个嵌套循环
numberA db 0 ;乘数
numberB db 0 ;被乘数
mov ax,0
mov cl,10
againA:
inc numberA
cmp cl,numberA
jz exit; 这是什么意思?
againB:
inc numberB
cmp cl,numberB
jz againA
print:
mov al,numberA
add al,30h
mov dl,al
mov ah,2
int 21h ;print numberA
mov dl,'*'
mov ah,2
int 21h ;print '*'
mov al,numberB
add al,30h
mov dl,al
mov ah,2
int 21h ;print numberB
mov dl,'='
mov ah,2
int 21h ;print '='
call printNum ;print product ,to pass over the procedure.;本程序中没有编写printNum子程序,怎么调用程序?
mov dl,','
mov ah,2
int 21h
jmp againB