Question: .586 .MODEL FLAT .STACK 4096 .DATA num1 DWORD 43 num2 DWORD 1947 num3 DWORD 859 num4 DWORD 22 result DWORD ? .CODE main PROC mov

.586 .MODEL FLAT

.STACK 4096

.DATA num1 DWORD 43 num2 DWORD 1947 num3 DWORD 859 num4 DWORD 22 result DWORD ?

.CODE main PROC mov eax, num1 ; mov eax, num2 ; add eax, eax ;

mov ebx, num3 ; add eax, ebx ; mov ebx, num4 ;

mov result, eax ; mov eax, 0 ; ret main ENDP END ; end of source code

Rewrite the above Console32 program written to now run in a Windows32 program. Instead of using hard coded values, prompt the user for the values. Then add code to display the original values and the result after all the values have been calculated.

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!