code segment
assume cs:code
start:
mov ax,-14H
mov bx,-23H
mov cx,ax
mov dx,bx
cmp ax,0
jnl zhengshu1
xor cx,cx
sub cx,ax
zhengshu1:
cmp bx,0
jnl zhengshu2
xor dx,dx
sub dx,bx
zhengshu2:
cmp cx,dx
jnb ada
mov cx,ax
mov ax,bx
mov bx,cx
ada:
mov ah,4ch
int 21h
code ends
end start
调试通过