Question: 18. Which statement is true about what will happen when the example code runs? 1: main PROC 2: mov eax,40 3: push offset Here 4:
18. Which statement is true about what will happen when the example code runs?
1: main PROC 2: mov eax,40 3: push offset Here 4: jmp Ex4Sub 5: Here:
6: mov eax,30 7: INVOKE ExitProcess,0 8: main ENDP 9:
10: Ex4Sub PROC 11: ret 12: Ex4Sub ENDP
a. EAX will equal 30 on line 7
b. The program will halt with a runtime error on Line 4
c. EAX will equal 30 on line 6
d. The program will halt with a runtime error on Line 11
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
