# Write a program to :
Display message "Enter a small letter:"
and read a char , on the next line to print "The capital is:"
.model small
.stack 100h
.data
m1 db "Enter a small letter:$"
m2 db "The capital is:$"
.code
main proc
mov ax,@data
mov ds,ax
mov ah,9
lea dx,m1
int 21h
mov ah,1
int 21h
mov bl,al
mov ah,2
mov dl,0dh
int 21h
mov ah,2
mov dl,0ah
int 21h
sub bl,20h
mov ah,9
lea dx,m2
int 21h
mov ah,2
mov dl,bl
int 21h
mov ah,4ch
int 21h
main endp
end main