Programming Assignment Assembly Language
Programming Assignment Assembly Language
Modify the sample program located on page 40 to add two numbers stored in memory at number1 and number2.(Hint: Copy number1 to EAX and then use add eax, number2 to add the second number.)Continue to store the total in memory at sum.Assemble, link and execute the program.Explain the changes that are displayed in registers and memory after execution of each instruction.THIS MUST BE A DETAILED EXPLAINATION.IT IS WORTH 5 OF THE 10 POINTS.
Extra Credit – 5 points
Modify the program above to subtract 1000 from the value you have after adding number1 and number2.(Hint: you need to do this after to store the total into sum so you don’t lose that value before you subtract.)Store this new value in memory at diff.Assemble, link and execute the program.Explain the changes that are displayed in registers and memory after execution of each instruction.THIS MUST BE A DETAILED EXPLAINATION.
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


