Small MIPS PlP Tool 5.2 Project:
Writing a program that receives a string of characters via the UART, checks if this string is a palindrome, and then uses a print function to print either “Yes” or “No”. A palindrome sequence of characters (typically a word or phrase) that is the same both forwards and backwards. For this project, strings will be terminated using a period (‘.’). You may assume that a string will contain at least one character in addition to a period. You will not need to handle empty strings or strings with only a period. Your program should be able to handle multiple strings sent one after another or concatenated together. For example, the string: “abba. data.” should print “Yes” followed by “No” on the next line. Spaces should be ignored when checking for a palindrome and the palindrome should not be case sensitive. For example, “A nut for a jar of Tuna.” would be considered a palindrome.
My code is not working properly. I am getting a "No" every time the program runs and it does not start over again. If interested, I can provide my code to edit. Here is the skeleton code and instructions.
You need to start by dividing the assignment into a few parts:
1) UART interaction.
2) Dealing with case, space, and period characters.
3) Storage.
4) Palindrome analyzing.
5) Printing.
6) Need your program to return to a ready state of 'listening' for another string of characters where it can successfully go through multiple iterations of the program without failing/stacking data weird.