Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write an x86 assembler program that does the following: Gets information (first name and age) from the console, Stores that information in memory Reads the
Write an x86 assembler program that does the following:
- Gets information (first name and age) from the console,
- Stores that information in memory
- Reads the stored information and outputs it out to the console. Thus, the outputs should echo your inputs.
This program should make use of the 32-bit Irvine assembler library; you can find the source code for his library in the file: Irvine32.asm.
The below image shows what a sample session of the program looks like
Caveats:
- Be sure to download and inspect the example code from the Irving textbook site prior to writing this program
- Your program must be written using Visual Studio (VS), MASM, and the Irvine 32-bit library
- You must reserve sufficient memory for your name and age. Make sure you store the input information in the memory prior to outputting it. Name must be stored as a string; age as an integer data type.
- Suggest you step through your program with the VS debugger to make sure the data is being stored properly
- No error checking is required for this program.
- When you are finished with each, put the entire directory for your VS MASM project into a single ZIP file and upload them it D2L by the due date. The name of this Zip file should be the same as your surname (e.g., Marmelstein.zip).
- I will be reassembling and testing your program, so be sure to include the source code (*.asm file)
X Microsoft Visual Studio Debug Console CPSC 232 - Program 01 Enter your name >> Robert Enter your age >> 56 Your name is: Robert Your age is: 56 C:\Users marm\Documents\Academic CPSC 232\Irvine Text\Project32_VS2019\Debug\Project.exe (process 17196) exited with co de e. To automatically close the console when debugging stops, enable tools->Options->Debugging->Automatically close the conso le when debugging stops. Press any key to close this window ... X Microsoft Visual Studio Debug Console CPSC 232 - Program 01 Enter your name >> Robert Enter your age >> 56 Your name is: Robert Your age is: 56 C:\Users marm\Documents\Academic CPSC 232\Irvine Text\Project32_VS2019\Debug\Project.exe (process 17196) exited with co de e. To automatically close the console when debugging stops, enable tools->Options->Debugging->Automatically close the conso le when debugging stops. Press any key to close this window
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