Question: Assembly language you need to build a simple program that reads a string from the user and reverses it. Start by getting the string reversal
Assembly language you need to build a simple program that reads a string from the user and reverses it. Start by getting the string reversal to work for a standard string that you hard-code, then move on to reading the user's input. The target string should be the reversed version of the source string. For example, the program should take a source string of "LES 23" and create a target string "23 LES". You cannot use the stack push and pop operations for this assignment. Requirements: Display source string on the screen. Use a LOOP instruction to build a loop used to copy a character at a time from the source to the destination. Finally, display the target (destination) string on the screen. Place a comment at the beginning of your program with your names and date complete.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
