Answered step by step
Verified Expert Solution
Link Copied!
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:

  1. Gets information (first name and age) from the console,
  2. Stores that information in memory
  3. 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

image text in transcribed

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

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Constraint Databases

Authors: Peter Revesz

1st Edition

1441931554, 978-1441931559

More Books

Students explore these related Databases questions

Question

What is a verb?

Answered: 3 weeks ago