Write a program that convert capital alphabet to small and small to capital alphabet
Program/Code:
Program/Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | org 100h MOV AH, 1 INT 21H add al,20h mov ah, 2 mov dl, al ;take output a character ;and show it by dl int 21h mov dl, 0Dh int 21h mov dl, 0Ah int 21h mov ah, 1 int 21h sub al,20h mov ah, 2 mov dl, al ;take output a character ;and show it by dl int 21h ret |
No comments:
Post a Comment