15.asm
lima21bd_Heaven-of-Assembly/15.asm
.model small
.stack 100h

.code

main proc  
    
    mov ah , 2
    mov dl , 63
    int 21h
    
    mov ah , 1
    int 21h
    mov bh , al
    
    mov ah , 1
    int 21h
    mov bl , al
    
    mov ah , 2
    mov dl , 10
    int 21h 
    mov dl , 13
    int 21h
    
    cmp bh , bl
    jge display
    
    mov ah , 2
    mov dl , bh
    int 21h 
    
    mov ah , 2
    mov dl , bl
    int 21h 
    
    jmp exit
    
    display: 
    
    mov ah , 2
    mov dl , bl
    int 21h 
    
    mov ah , 2
    mov dl , bh
    int 21h 
    
    exit:
    
    mov ah , 4ch
    int 21h
    main endp
end main
    
    
    
    
    
     
    
    