Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started