Write an assembly language program to do the following: In a loop, ask the user
ID: 3732934 • Letter: W
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)
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
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
Explanation / Answer
Here is the assembly code for the given problem palindrome.
Source Code
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.