Upper-Case to Lower-Case in Assembly Language Program


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:

Lower-case to Upper-case in Assembly Language Program

No comments:

Post a Comment