I have written the following code for a UART Palindrome Checker but it is not working properly. can someone please help me figure out where I am

I have written the following code for a UART Palindrome Checker but it is not working properly. can someone please help me figure out where I am going wrong? The program is using MIPS language and PLP 5.2 to read strings and print a “yes” or “no” if they are or are not palindrome. Right now when I load the program it is printing a “no” before i put a string in and no matter if the string is the same forwards and backwards it is printing a “no”. Also the program uses a “.” to separate strings to be evaluated.

The first part between the **** is what I wrote and between the ++++ is what was given to me as a skeleton file.

*********************************************************************************************************************************************************

*********************************************************************************************************************************************

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

main.asm

project3_print.asm

main.asm                                  

# Initializations

li $sp, 0x10fffffc

# Initialize any registers you will be using here.

# It can be helpful to include a comment about a register’s purpose

# next to an initialization at the start of the program for reference.

j main

nop

array_ptr:

Place New Order
It's Free, Fast & Safe

"Looking for a Similar Assignment? Order now and Get a Discount!