Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions