Created
April 8, 2018 15:59
-
-
Save AwsafAlam/8cf8af8322a90bfcc3dc9634a807d101 to your computer and use it in GitHub Desktop.
Does not show correct output as expected when run on emulator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.MODEL SMALL | |
.DATA | |
MSG DB 'CONVERTED LETTER: $' | |
.CODE | |
MAIN PROC | |
MOV AH , 1 | |
INT 21H | |
SUB AL , 32 | |
MOV CL , AL | |
MOV AH , 2 | |
MOV DL , 0DH | |
INT 21H | |
MOV AH , 2 | |
MOV DL , 0AH | |
INT 21H | |
LEA DX , MSG | |
MOV AH, 9 | |
INT 21H | |
MOV AH , 2 | |
MOV DL , CL | |
INT 21H | |
MOV AH , 4CH | |
INT 21H | |
MAIN ENDP | |
END MAIN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment