Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Consider the program below The initial value of the stack pointer ESP = 1018 FF8C. What is the value of the STACK POINTER (ESP)

1) Consider the program below The initial value of the stack pointer ESP = 1018 FF8C. What is the value of the STACK POINTER (ESP) after the each CALL instruction and each RET instruction. INCLUDE Irvine32.inc .DATA val1 DW 78h val2 DW 40h val3 DW 5Fh .CODE Main PROC mov ax,val1 call proc1 (1) ESP=____________(AFTER the CALL) exit main ENDP proc1 PROC ;Begin Procedure nop call proc2 (2) ESP=___________(AFTER the CALL) nop ret (3) ESP=____________(AFTER the RET) proc1 ENDP proc2 PROC ;Begin Procedure nop call proc3 (4) ESP=___________(AFTER the CALL) nop ret (5) ESP=___________(AFTER the RET) proc2 ENDP proc3 PROC ;Begin Procedure nop nop ret (6) ESP=____________(AFTER the RET) proc3 ENDP END (Points : 10)

(1) 0018 FF88 (2) 0018 FF86 (3) 0018 FFF4 (4) 0018 1200 (5) 0018 FF8C (6) 0018 FF88 (1) 0018 FFFC (2) 0018 FFF8 (3) 0018 FF84 (4) 0018 FFF4 (5) 0018 FF8C (6) 0018 FF88 (1) 0018 FF88 (2) 0018 FF84 (3) 0018 FF80 (4) 0018 FF84 (5) 0018 FF88 (6) 0018 FF8C (1) 0018 FFFC (2) 0018 FFF4 (3) 0018 FF84 (4) 0018 FF88 (5) 0018 FFF8 (6) 0018 FFFC (1) 0018 FFF8 (2) 0018 FFFC (3) 0018 FFF4 (4) 0018 1200 (5) 0018 FFF8 (6) 0018 FFFC

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

Inference Control In Statistical Databases From Theory To Practice Lncs 2316

Authors: Josep Domingo-Ferrer

2002nd Edition

3540436146, 978-3540436140

More Books

Students also viewed these Databases questions

Question

5. Have you ever maintained a blog?

Answered: 1 week ago

Question

4. Help trainees set challenging mastery or learning goals.

Answered: 1 week ago

Question

2. Enrolling employees in courses and programs.

Answered: 1 week ago