Question: Converting a Null - Terminated String to Lowercase in MIPS Assembly For the homework, you will be using the load byte ( lb ) and
Converting a NullTerminated String to Lowercase in MIPS Assembly
For the homework, you will be using the load bytelb and store bytesb instructions. It works similiarly to the load word instruction but instead loading and storing all bit to and from registersmemory it only stores and loads the first bits. Other than that it works the exact same way as loadstore word.
You are given a null terminated string, denoted by ascii value The base address of this string variable is stored in register $s
Convert valid character in the string, AZ to lowercase letters. Punctuations, lowercase letters, numbers, spaces and other non alphanumeric should not be affected.
For those who need a refresher, string are simply an array of chars, and chars are byte.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
