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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started