Question: Suppose that you are given the following program. After the instruction mov ebp, esp, which of the following is referenced by each of the following?

Suppose that you are given the following program. After the instruction "mov ebp, esp", which of the following is referenced by each of the following? .data x DWORD 153461 y WORD 37 z WORD 90 .code main PROC push x push y push z call someProcedure ... exit main ENDP someProcedure PROC push ebp mov ebp, esp ...

pop ebp ret 8 someProcedure ENDP END MAIN

[ebp + 4]

[ Choose ] The memory address of someProcedure. None of these. The decimal value 37. The decimal value 90. The decimal value 153461. The previous value of EBP. The return address from someProcedure.

[ebp + 8]

[ Choose ] The memory address of someProcedure. None of these. The decimal value 37. The decimal value 90. The decimal value 153461. The previous value of EBP. The return address from someProcedure.

[ebp + 10]

[ Choose ] The memory address of someProcedure. None of these. The decimal value 37. The decimal value 90. The decimal value 153461. The previous value of EBP. The return address from someProcedure.

[ebp + 12]

[ Choose ] The memory address of someProcedure. None of these. The decimal value 37. The decimal value 90. The decimal value 153461. The previous value of EBP. The return address from someProcedure.

[ebp]

[ Choose ] The memory address of someProcedure. None of these. The decimal value 37. The decimal value 90. The decimal value 153461. The previous value of EBP. The return address from someProcedure.

[ebp + 6]

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!