TITLE PGM5: CASE CONVERSION PROGRAM
.MODEL SMALL
.STACK 100H
.DATA
MSG DB 'HELLO ME$'
.CODE
MAIN PROC
MOV AX,@DATA ;GETTING DATA SEGMENT
MOV DS,AX ;INTITIALIZING DS
LEA DX,MSG ;GETTING THE MESSAGE
MOV AH,9 ;DISPLAYING THE STRING FUNCTION
INT 21H ;DISPLAYING THE MESSAGE
MOV AH,4CH
INT 21H ;DOS EXIT
MAIN ENDP
END MAIN ;MAIN PROC ENDING
.MODEL SMALL
.STACK 100H
.DATA
MSG DB 'HELLO ME$'
.CODE
MAIN PROC
MOV AX,@DATA ;GETTING DATA SEGMENT
MOV DS,AX ;INTITIALIZING DS
LEA DX,MSG ;GETTING THE MESSAGE
MOV AH,9 ;DISPLAYING THE STRING FUNCTION
INT 21H ;DISPLAYING THE MESSAGE
MOV AH,4CH
INT 21H ;DOS EXIT
MAIN ENDP
END MAIN ;MAIN PROC ENDING
No comments:
Post a Comment