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

Write an 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. call a function pal to determine

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

and print the answer. Now repeat the loop.

then

In a loop, ask the user if they have another input string. If so, test whether or not the input string is a palindrome: Use the following input strings: A Toyota's a Toyota Olson is in Oslo. Mr. Owl ate a metal worm Amore, Roma A man, a plan, one canal: Panana! A man, a plan, a canal: Panama! For each input string, print the string back out and print a message saying whether or not the string is a palindrome. You can submit either Version A or Version B, not both: Version A: (10) Compress the string by a modificatio 

BOOK NAME: Assembly language and Computer Architecture using C++ and Java by Anthony J. Dos Reis

Program should be written in H1 assembly language.

EDIT: This book is very obsucure, I could not find a online link :( but i managed to take pictures of the H1 language instruction set: https://drive.google.com/drive/folders/17wEm-zegqFaN4mM47ALUjOZ8hSP-MWd9?usp=sharing

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!