Question: Problem 2 (30 points) Write a MIPS function (called palindrome) that returns 1 if the input string is a palindrome and returns 0 otherwise; your

Problem 2 (30 points) Write a MIPS function (called "palindrome") that returns 1 if the input string is a palindrome and returns 0 otherwise; your program should be named as "palindrome.s". The address of the string will be passed in using register $a0 and the resulting value should be returned in $vO. Here a string is a palindrome if it reads the same in forward or backward direction (including white spaces, punctuation marks, and so on, but is case insensitive (i.e., A' and a, are considered to be the same). Note the string is ended with '"10' (C/C++ convention). You need to test your program using "test palindrome.s" (http://www.cs.fsu.edu/~liux/courses/cda3100/assignments/test palindrome.s) and include the results (shown on the console) in the pdf file to be submitted. 25
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
