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

.code

main proc
    
    mov ah , 1
    
    repeat:
    
    int 21h
    
    cmp al , ' '
    jne repeat
    
    exit:
    
    mov ah , 4ch
    int 21h
    main endp
end main