Assembly language program to input capital number from user and convert it into small letters

Code

org 100h
.stack 100h
.data 
.code
main proc 
    mov ah,01
    int 21h
    mov cx,ax
        
    call space
    
    
    mov dx,cx 
    add dx,32
    mov ah,02
    int 21h
    
    
    mov ah,4ch
    int 21h
    
    main endp
space proc
 
    mov dx,10
    mov ah,02
    int 21h
    mov dx,13
    mov ah,02
    int 21h  
    ret
    space endp
end main
    

Output



Comments

Popular posts from this blog

Assembly language program to input an integer from user and display whether the number is even or odd

Assembly language program to display sum of all even numbers between 1 to 100

Assembly language program to input string from user and display it