Question: In EMU 8 0 8 6 Assembly Language Only! Do the following & make sure its complete in assembly language code only. Awesome Autos needs
In EMUAssembly Language Only! Do the following & make sure its complete in assembly language code only.
Awesome Autos needs a lot inventory management system. Using all of the knowledge that
weve gained in the last few sections on structs and files, you need to write a program that does
the following:
ADesign a structure that can hold the information on an automobile: manufacturer
stringmodel stringcolor stringengine size floatand doors integer
BWhen your program is run, prompt the user to enter each of these pieces of data into
the structure.
COnce the last piece of structure data has been entered, prove the structure is working
correctly by neatly printing the structures contents to the screen.
DWrite the structure out to the file.
EAllow the user to add more automobiles until they indicate that they are done repeat
steps B through D
FClose the file and print a message out to the screen once the file has been created.
GOpen the file back up for reading.
HUsing a loop while there is data to process:
aClear any data in the structure out.
bRead the data back into the structure.
cPrint the structure out to the screen again.
IClose the file.
Heres a sample run:
Manufacturer: Chevrolet
Model: Corvette
Color: Ticket Me Red
Engine Size:
Doors:
Add more inventory YNY
Manufacturer: Kia
Model: Sorento
Color: Green
Engine Size:
Doors:
Add more inventory YNN
Struct information written to file C:asmtesttxt
Manufacturer: Chevrolet
Model: Corvette
Color: Ticket Me Red
Engine Size:
CIS James Assignment Page
Doors:
Manufacturer: Kia
Model: Sorento
Color: Green
Engine Size:
Doors:
Awesome Auto Lot Inventory file has been processed
Hints: Think procedures! You can simplify the code and your debugging life by writing
procedures. For example, a print structure routine, a save to file routine, a read from file
routine, et cetera. Secondly, DO NOT code this application in a single shot incrementally build
up each piece of logic otherwise you will get lost when things dont work right.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
