Question: Problem 2 ( 5 points ) : PALINDROME Write an assembly program that detects palindrome. A palindrome is a word, phrase, or sequence that reads
Problem points: PALINDROME
Write an assembly program that detects palindrome. A palindrome is a word, phrase,
or sequence that reads the same backward as forward. For example, "madam" or
are palindromes, is not.
Requirements:
You may use the concepts of conditional branch, loop. and push pop stack from
our class discussion.
You may use the program for reversing string as a hint.
Input: Take input string from console using Irvine library.
Output: If the input string is a palindrome, you should print Palindrome
Otherwise, print not a Palindrome For comparison, you can use je jump if equal
and sub instructions.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
