Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Q) 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

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

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

Program should be written in H1 assembly language.

source file should be with .mas extension. for eg: file.mas, spam.mas

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

Students also viewed these Databases questions