Edit this existing program to make and create 2 programs:a. When a user presses a lower case an upper case shows.
b. when a user presses either upper case orlower case the program will display the opposite whichmeans that the program detects whether a Upper orLower case was pressed.
Extracted text: ; Author: DAVID PELED ; displays upper case to lower case Enter to exit . model small .386 ; to support 32 bits .stack 100h ; Stack with 100h locations 256(10) %D .data ; to declare variables ; variables to be called here .code main proc L1: mov ah, 1 ; enter key int 21h cmp al, 13 ; if CR then end JZ short L2 mov dl, al ; save the key entered to dl ADD DL, 20h ; add 20h mov ah, 6 ; displays the content of dl int 21h 32(10) jmp L1 L2: mov ax,4C00h ; return to DOS ends to program int 21h main endp end main
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here