Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design the addition.asm program, and use assembly language to realize the function of the following C++ instructions. short num1 = 30000; short num2 = 40000;

Design the "addition.asm" program, and use assembly language to realize the function of the following C++ instructions. short num1 = 30000; short num2 = 40000; int sum = 0; sum = int(num1 + num2); 3. Assemble the "addition.asm" file and link the "addition.o" file to get the "addition" executable file. 4. Run the "addition" file with the DDD debugger to display the simulation results of num1 and num2, as well as the simulation results of sum. 5. Insert source code (addition.asm) and simulation results (DDD debugger window) of the memory (num1, num2, and sum) in the document. Write an analysis to verify simulation results. 6. Design the "subtraction.asm" program, and use assembly language to realize the function of the following C++ instructions. short num1 = 30000; short num2 = 40000; int dif = 0; dif = int(num1 - num2); 7. Assemble the "subtraction.asm" file and link the "subtraction.o" file to get the "subtraction" executable file. 8. Run the "subtraction" file with the DDD debugger to display the simulation results of num1 and num2, as well as the simulation results of diff. 9. Insert source code (subtraction.asm) and simulation results (DDD debugger window) of the memory (num1, num2, and dif) in the document. Write an analysis to verify simulation results. 10. Save the file in pdf format and submit the pdf file to Canvas before 23:59 pm on 02/15/2023. [Insert addition.asm here] [Insert addition simulation result here] [Insert addition simulation result analysis here] 2 [Insert subtraction.asm here] [Insert subtraction simulation result here] [Insert subtraction simulation result analysis here]

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions

Question

gives me an overview about Apple Inc

Answered: 1 week ago