Given the following procedures, with code segment instruction addresses given on each line in 4 byte hex.. 00000000 main PROC .... Execution Point A doSomething result, EAX 0000011C CALL 00000120 MOV...


Given the following procedures, with code segment instruction addresses given on each line in 4 byte hex..<br>00000000<br>main PROC<br>.... Execution Point A<br>doSomething<br>result, EAX<br>0000011C<br>CALL<br>00000120<br>MOV<br>0000023E<br>0000023F<br>; ...<br>exit<br>main<br>ENDP<br>0000023F<br>checkThings PROC<br>BX, ØA00H<br>; Execution Point B<br>00000243<br>XOR<br>00000274<br>RET<br>00000275<br>checkThings ENDP<br>00000275<br>doSomething PROC<br>000002A0<br>CALL checkThings<br>00000ZA5<br>MOV EAX, EDX<br>...<br>000002F3<br>RET<br>০00002F4<br>doSomething ENDP<br>Assume there are no stack operations other than the shown CALL and RET instructions, and ESP = 00000900h at Execution Point A. At Execution Point B:<br>What is the current value of the stack pointer (in 4 byte hex)?<br>What is the value at the top of the stack (in 4 byte hex)?<br>

Extracted text: Given the following procedures, with code segment instruction addresses given on each line in 4 byte hex.. 00000000 main PROC .... Execution Point A doSomething result, EAX 0000011C CALL 00000120 MOV 0000023E 0000023F ; ... exit main ENDP 0000023F checkThings PROC BX, ØA00H ; Execution Point B 00000243 XOR 00000274 RET 00000275 checkThings ENDP 00000275 doSomething PROC 000002A0 CALL checkThings 00000ZA5 MOV EAX, EDX ... 000002F3 RET ০00002F4 doSomething ENDP Assume there are no stack operations other than the shown CALL and RET instructions, and ESP = 00000900h at Execution Point A. At Execution Point B: What is the current value of the stack pointer (in 4 byte hex)? What is the value at the top of the stack (in 4 byte hex)?
Question 17<br>Given the following procedures, with code segment instruction addresses given on each line in 4 byte hex.<br>00000000 main PROC<br>:...<br>: Execution Point A<br>CALL someProc1<br>0000001A<br>0000001F<br>CALL WriteDec<br>...<br>00000030<br>exit<br>main ENDP<br>00000031<br>00000031<br>someProcl PROC<br>00000031<br>PUSH EAX<br>00000035<br>CALL someProc2<br>0000003A<br>РOP<br>EAX<br>: Execution Point B<br>RET<br>0000016F<br>0000016F<br>someProc1 ENDP<br>0000016F<br>someProcz PROC<br>০000016F<br>PUSH EBX<br>i...<br>০0000205<br>POP<br>EBX<br>00000209<br>0000020A<br>RET<br>someProc2 ENDP<br>Assume ESP = 000004DAH, EAX = 00000040h, EBX = 00000120h at Execution Point A, there are no stack operations other than those visible, and EAX and EBX<br>are only changed by the visible instructions. At Execution Point B:<br>What is the current value of the stack pointer (in 4 byte hex)?<br>What is the value at the top of the stack (in 4 byte hex)?<br>

Extracted text: Question 17 Given the following procedures, with code segment instruction addresses given on each line in 4 byte hex. 00000000 main PROC :... : Execution Point A CALL someProc1 0000001A 0000001F CALL WriteDec ... 00000030 exit main ENDP 00000031 00000031 someProcl PROC 00000031 PUSH EAX 00000035 CALL someProc2 0000003A РOP EAX : Execution Point B RET 0000016F 0000016F someProc1 ENDP 0000016F someProcz PROC ০000016F PUSH EBX i... ০0000205 POP EBX 00000209 0000020A RET someProc2 ENDP Assume ESP = 000004DAH, EAX = 00000040h, EBX = 00000120h at Execution Point A, there are no stack operations other than those visible, and EAX and EBX are only changed by the visible instructions. At Execution Point B: What is the current value of the stack pointer (in 4 byte hex)? What is the value at the top of the stack (in 4 byte hex)?
Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here