Program to convert upper-case to Lower-case in Assembly Language.
TITLE Write Assembly program to Input Upper Case letter from user and display it’s lower case. (ADD 32 from ASCII)
.model small
.stack
.code
;Input character
mov ah,07h;
int 21h;
;Capitalize
ADD al,32
;print character
mov ah,02h;
mov dl,al;
int 21h;
;Give control back to OS
mov ah,4ch
int 21h
end
See Also:
No comments:
Post a Comment