Question: I need help converting this function into assembly code x86 using visual studios plz /*********************************************************************************************** Change Letter Case You are given a string (null-terminated array
I need help converting this function into assembly code x86 using visual studios plz
/***********************************************************************************************
Change Letter Case
You are given a string (null-terminated array of characters) that may contain numbers, upper andlower case letters, punctuations symbols, etc. Implement a function to convert all uppercase letters to lowercase and vice versa. For example "ThisIsTheFinalLabOf51" should be converted to "tHISiStHEfINALlABoF51". The string should be modifed in place. There is no explicit output for this function.
Tips:
- Note that each element of the arrays is a char (1 byte). You can NOT use a 32-bit register to read/write from/to a memory location. Instead you should use the 8-bit version of the x86 general-purpose registers.
- The link to the ASCII codes is here: http://www.asciitable.com/
************************************************************************************************/
//Do not add any another functions
void changeCase(char *string) {
__asm { // BEGIN YOUR CODE HERE
// END YOUR CODE HERE } }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
