Question: Objective: Write MIPS program to check if an input string is a palindrome. A palindrome reads the same forwards and backwards, like: radar, racecar, noon,
Objective: Write MIPS program to check if an input string is a palindrome. A palindrome reads the same forwards and backwards, like: radar, racecar, noon, anna. Assume one continuous word, no space or punctuation.
Implement the following program in MIPS:
In the main program loop:
get a string from the user (use syscalls 4 and 8, not syscall 54)
call a function to check if the input string length is zero, in which case, exit the program
call a function to check if the string is a palindrome and print a message
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
