Question: course: assembly language please answer quickly Question No 7(Marks 10) 1. Which statement is true about what will happen when the sample code runs? Give

course: assembly language please answer quickly
Question No 7(Marks 10) 1. Which statement is true about what will happen when the sample code runs? Give reason of your choice. I EAX will equal 10 on line 6. II. The program will halt with a runtime error on line 10. III. EAX will equal 20 on line 6. iv. The program will halt with a runtime error on line 11. Sample code: 1: main PROC 2. push 10 3: push 20 call Ex2sub 5. pop eax 6+ INVOKE ExitProcess, 0 7. main ENDP 8. 9Ex2sub PROC 10: pop eax 11: ret 12: EX2Sub ENDP 4: 1 cc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
