Write an x86 assembler program t

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Description:
Write an x86 assembler program that does the following:
a. Gets information (first name and age) from the console,
b. Stores that information in memory
c. Reads the stored information and outputs it out to the console. Thus, the outputs
should echo your inputs.
This program will 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:
EX Microsoft Visual Studio Debug Console
CPSC 232 Program #1
Enter your name >> Robert
Enter your age >> 56
Your name is: Robert
Your age is: 56
0
C:\Users\rmarm\Documents\Academic\CPSC 232\Irvine Text\Project32_VS2019\Debug\Project.exe (process 17196) exited with co
de 0.
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...
Caveats:
Your program must be written using Visual Studio (VS), MASM, and the Irvine 32-bit
library
• Be sure to download and inspect the example code from the Irving textbook site prior to
writing this program. Specifically, look at the code examples in Chapter 5 - these
exercise the Irvine library functions you will need.
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.
X
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 *.asm file 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)
Transcribed Image Text:Description: Write an x86 assembler program that does the following: a. Gets information (first name and age) from the console, b. Stores that information in memory c. Reads the stored information and outputs it out to the console. Thus, the outputs should echo your inputs. This program will 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: EX Microsoft Visual Studio Debug Console CPSC 232 Program #1 Enter your name >> Robert Enter your age >> 56 Your name is: Robert Your age is: 56 0 C:\Users\rmarm\Documents\Academic\CPSC 232\Irvine Text\Project32_VS2019\Debug\Project.exe (process 17196) exited with co de 0. 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... Caveats: Your program must be written using Visual Studio (VS), MASM, and the Irvine 32-bit library • Be sure to download and inspect the example code from the Irving textbook site prior to writing this program. Specifically, look at the code examples in Chapter 5 - these exercise the Irvine library functions you will need. 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. X 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 *.asm file 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)
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Fundamentals of Computer System
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education