A palindrome is a word, verse, sentence, or number that reads the same backward or forward. Blanks, punctuation marks, and capitalization do not count in determining palindromes. Here are some...


A palindrome is a word, verse, sentence, or number that reads the same backward or


forward. Blanks, punctuation marks, and capitalization do not count in determining


palindromes. Here are some examples:


1991


Able was I ere I saw Elba


Madam! I’m Adam


Write a procedure to determine if a given string is a palindrome. The string is passed


via the stack (i.e., the string pointer is passed to the procedure). The procedure returns


1 in EAX if the string is a palindrome; otherwise, it returns 0. The carry flag is used to


indicate the Not a string error message, as we did in our examples in this chapter.



May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here