Mzsmunna
10/16/2019 - 8:59 AM

Convert_UpperCaseTO_LowerCase


.MODEL SMALL
.STACK 100H 
.DATA
MSG1 DB 'ENTER UPPER: $' 
MSG2 DB 'LOWER IS: $'
.CODE
MAIN PROC  
    MOV AX,@DATA
    MOV DS,AX
    
    LEA DX,MSG1
    MOV AH,9
    INT 21H
    
    MOV AH,1
    INT 21H
    MOV BH,AL
    
    ADD BH,32  
    
    MOV AH,2
    MOV DL,0DH
    INT 21H
    MOV DL,0AH
    INT 21H
    
    LEA DX,MSG2
    MOV AH,9
    INT 21H
    
    
    
    MOV AH,2
    MOV DL,BH
    INT 21H
    
   
    
         
           
    MOV AH,4CH
    INT 21H
    MAIN ENDP
END MAIN