Create a program in MIPS assembly language that takes a string input and tells the user if the string is a palindrome or not. Create your program in the palindrome.asm file. Prompt the user to enter a word Store the word in memory Determine if the word is a palindrome or not Display the word back to the user stating if it is or is not a palindrome.
Create a
Create your program in the palindrome.asm file.
Prompt the user to enter a word
Store the word in memory
Determine if the word is a palindrome or not
Display the word back to the user stating if it is or is not a palindrome.
Example of the program running:
Please enter a word: **** user input : racecar That is a palindrome -- program is finished running -- Reset: reset completed. Please enter a word: **** user input : noon That is a palindrome -- program is finished running -- Reset: reset completed. Please enter a word: **** user input : trashcan That is not a palindrome
Trending now
This is a popular solution!
Step by step
Solved in 3 steps