Question: 1. Starting with the windows32 project, modify the example program given in this section (provided with this below) to prompt for, input and add three

1. Starting with the windows32 project, modify the example program given in this section (provided with this below) to prompt for, input and add three numbers, and display the sum. Run the program several times with different data. Trace execution using the debugger. Has to be in assembly language (.asm).1. Starting with the windows32 project, modify the example program given in

; Example assembly language program ; adds 158 to number in memory ; Author: R. Detmer ; Date: 6/2013 586 MODEL FLAT .STACK 4096 ; reserve 4096-byte stack DATA number DWORD -105 sum DWORD? ; reserve storage for data .CODE main PROC ; start of main program code mov eax, number add eax, 158 mov sum, eax ; first number to EAX ; add 158 ; sum to memory ; exit with return code 0 mov eax,0 ret main ENDP END

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!