Write a mips program which will prompt


Write a MIPS program which will prompt the user for a string of up to 128 bytes, convert the string into another in which all alphabetic characters are in upper-case, then print out both characters. It should also print out the number of characters in the string(s).

When reading a string with syscall and function 8, the syscall will place the newline (‘\n’) at the end of the string and then fill the remainder of the buffer with null characters (‘\0’). When you copy and convert, copy all characters up to, but not including, the newline. Place a null at the end of the copied string and the original input string. (This means that your test will be for character 10, rather than character 0…this means that you can’t compare to $zero to find the end of the input string.)