Question: Written in assembly using MARS-ARM. Can you please help me write this in assembly? This ARM program will ask the user to enter a string
Written in assembly using MARS-ARM. Can you please help me write this in assembly?
This ARM program will ask the user to enter a string of characters and then report whether the string is a palindrome.
pal.in.drome, n. a word, line, verse, etc., reading the same backward as forward, as
Madam, Im Adam Poor Dan is in a droop Doc, note. I dissent. A fast never prevents a fatness. I diet on cod.
Eg.
Please enter a character string or press Enter to exit: madam im adam
The string madam im adam is a palindrome.
Please enter a character string or press Enter to exit:
Program terminated.
Ignore all blank space within the string when determining whether the string is a palindrome. Palindromes may contain any alphanumeric characters.
Must be able to handle spaces and punctuation (including apostrophes) and must be case insensitive.
Thanks!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
