Question: The difference between the uppercase letters and the lowercase letters is that bit 5 (20h) is on for the lowercase letters and off for the

The difference between the uppercase letters and the lowercase letters is that bit 5 (20h) is on for the lowercase letters and off for the uppercase letters. Create two procedures, ToUpperCase and TolowerCase. ToUpperCase must turn the 5th bit off (use an AND operation) and the TolowerCase must turn the 5th bit on (use an OR operation). Both of these functions will accept the offset of the string to be converted in the EDX register and the length of the string in the ECX register. Create a test program that askes the user to enter a message (can be up to 50 characters long-not counting the null terminator). Print the word "ORIGINAL:" followed by the string that was entered. Then convert the string to uppercase using your procedure and then print the word "UPPERCASE: "followed by the converted string. Finally convert the string to lower case and print the word "LOWERCASE:" followed by the converted string. Assembly program The difference between the uppercase letters and the lowercase letters is that bit 5 (20h) is on for the lowercase letters and off for the uppercase letters. Create two procedures, ToUpperCase and TolowerCase. ToUpperCase must turn the 5th bit off (use an AND operation) and the TolowerCase must turn the 5th bit on (use an OR operation). Both of these functions will accept the offset of the string to be converted in the EDX register and the length of the string in the ECX register. Create a test program that askes the user to enter a message (can be up to 50 characters long-not counting the null terminator). Print the word "ORIGINAL:" followed by the string that was entered. Then convert the string to uppercase using your procedure and then print the word "UPPERCASE: "followed by the converted string. Finally convert the string to lower case and print the word "LOWERCASE:" followed by the converted string. Assembly program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
