Question
2) Input Problem: Write an X86-series assembly language program that reads a string from the user and stores it in the data segment. Assume the
2) Input Problem: Write an X86-series assembly language program that reads a string from the user and stores it in the data segment. Assume the length of the string will be 20 characters or less (dont forget about the carriage return) and that the user will never enter more than 20 characters.
Sample Execution: There should be input at the command line and nothing else. You do not need to prompt the user for input.
3) Output Problem: Modify your solution to Question 2. Prompt the user for input, and then respond to their input by echoing it to the command line.
Sample Execution: A sample execution of the program looks like the following. Enter a string (max 20 char.)
012345678901234567890
The string you entered is: 012345678901234567890
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started