Question: Exercise dex1b: Write an assembly program that creates and uses a stack of characters to check if a given string is a palindrome (a sequence
Exercise dex1b: Write an assembly program that creates and uses a stack of characters to check if a given string is a palindrome (a sequence of characters that reads the same backward as forward.) First ask the user to input a string. Then, starting from the first character of the string, push one by one its characters into the stack. Finally organize a loop to compare one by one the characters of the string with the characters popped from the stack. Save your solution as a file named dex1b.asm for possible future use
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
