Question: Write an H1 assembly language program to do the following: In a loop, ask the user if they want to test for a palindrome word

Write an H1 assembly language program to do the following:

In a loop, ask the user if they want to test for a palindrome word (y/n)

If the answer is 'y', ask the user to input a string; echo the string back out

As on the exam, call a function pal to determine

whether or not the string represents a single-word palindrome,

and print the answer. Now repeat the loop.

Test the program with these strings:

rotator

racecar

abboubba

kayak

rear

noon

anna

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!