The following figure and table are the process address space and machine state when CPU is...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The following figure and table are the process address space and machine state when CPU is about to fetch and execute instruction at Ox80483dd push %ebp. Please describe what changes will be made to (1) stack segment and (2) x86 registers after CPU executes the push instruction. You can reference to x86 instruction sets which being used in class if needed. Text segment 080483dd <bar>: 80483dd: 80483de: 8048360: push mov sub tebp Ngap, abg $0x10, tesp Stack segment 4 (gdb) info registers eax 0x1 ecx edx ebx esp ebp esi edi eip eflags CS SS ds es fs gs Øxe3d3653b 0xffffcfb4 0xf7fd4000 0xffffcf8c 0x0 0x0 0x0 0x80483dd 0x246 0x23 0x2b 0x2b 0x2b 0x0 0x63 [ PF ZF IF ] 080483dd <bar>: 80483dd: 80483de: 8048300: 80483e3: 8048306: 80483e9: 80483eb: 80483ee: 8048310: 8048313: 80483f7: 80483fa: 80483fb: 080483fc <main>: 80483fc: 80483fd: 80483ff: 8048402: 8048409: Text segment 8048410: 8048417: 804841a: 804841e: 8048421: 8048425: 8048428: 804842b: 8048430: 8048433: 8048437: 804843A: 804843b: push mov sub mov mov add mov add mov addl mov leave ret push mov sub moy BRYZ mox mov mov mov mov mov mov call mov addl mov leave ret tebp esp, lebp $0x10, Resp Oxc (tebp), teax Ox8 (Sebp), Bedx Seax, Sedx 0x10 (Bebp), Seax Sedx, Seax Seax,-0x4 (Sebp) $0x6,-0x4 (Sebp) -0x4 (bebp), teax Sebp teap, kebp $0x1c, lesp $0x1,-0x4 (1ebp) 50x2,-0x8 (1ebp) 50x3,-0xc (tebp) -Oxe (ebp), *gax beax, 0x8 (esp) -0x8 (Sebp), teax Seax, 0x4 (sesp) -Qx4 (igbp), gAX gax, (ap) 80483dd <bar> Seax, -0x4(lebp) 50x5,-0x4 (tebp) -0x4 (Sebp), Seax Oxffffcf8c Oxffffcf88 Oxffffcf84 Oxffffcf80 Oxffffefle Oxffffcf78 Oxffffcf74 Oxffffcf70 Oxffffcf6c Oxffffcf68 Oxffffet64 Oxffffcf60 Oxffffef5c Oxffffcf58 Oxffffcf54 Oxffffef50 Oxffffcf40 Oxfffff48 Oxffffc144 OXFFFICE40 Oxftficf3c Oxffffor38 Oxffff034 Stack segment The following figure and table are the process address space and machine state when CPU is about to fetch and execute instruction at Ox80483dd push %ebp. Please describe what changes will be made to (1) stack segment and (2) x86 registers after CPU executes the push instruction. You can reference to x86 instruction sets which being used in class if needed. Text segment 080483dd <bar>: 80483dd: 80483de: 8048360: push mov sub tebp Ngap, abg $0x10, tesp Stack segment 4 (gdb) info registers eax 0x1 ecx edx ebx esp ebp esi edi eip eflags CS SS ds es fs gs Øxe3d3653b 0xffffcfb4 0xf7fd4000 0xffffcf8c 0x0 0x0 0x0 0x80483dd 0x246 0x23 0x2b 0x2b 0x2b 0x0 0x63 [ PF ZF IF ] 080483dd <bar>: 80483dd: 80483de: 8048300: 80483e3: 8048306: 80483e9: 80483eb: 80483ee: 8048310: 8048313: 80483f7: 80483fa: 80483fb: 080483fc <main>: 80483fc: 80483fd: 80483ff: 8048402: 8048409: Text segment 8048410: 8048417: 804841a: 804841e: 8048421: 8048425: 8048428: 804842b: 8048430: 8048433: 8048437: 804843A: 804843b: push mov sub mov mov add mov add mov addl mov leave ret push mov sub moy BRYZ mox mov mov mov mov mov mov call mov addl mov leave ret tebp esp, lebp $0x10, Resp Oxc (tebp), teax Ox8 (Sebp), Bedx Seax, Sedx 0x10 (Bebp), Seax Sedx, Seax Seax,-0x4 (Sebp) $0x6,-0x4 (Sebp) -0x4 (bebp), teax Sebp teap, kebp $0x1c, lesp $0x1,-0x4 (1ebp) 50x2,-0x8 (1ebp) 50x3,-0xc (tebp) -Oxe (ebp), *gax beax, 0x8 (esp) -0x8 (Sebp), teax Seax, 0x4 (sesp) -Qx4 (igbp), gAX gax, (ap) 80483dd <bar> Seax, -0x4(lebp) 50x5,-0x4 (tebp) -0x4 (Sebp), Seax Oxffffcf8c Oxffffcf88 Oxffffcf84 Oxffffcf80 Oxffffefle Oxffffcf78 Oxffffcf74 Oxffffcf70 Oxffffcf6c Oxffffcf68 Oxffffet64 Oxffffcf60 Oxffffef5c Oxffffcf58 Oxffffcf54 Oxffffef50 Oxffffcf40 Oxfffff48 Oxffffc144 OXFFFICE40 Oxftficf3c Oxffffor38 Oxffff034 Stack segment
Expert Answer:
Answer rating: 100% (QA)
After the CPU executes the push ebp instruction at 0x80483dd the following changes ... View the full answer
Related Book For
Computer Networking A Top-Down Approach
ISBN: 978-0133594140
7th edition
Authors: James Kurose, Keith Ross
Posted Date:
Students also viewed these programming questions
-
A tennis player serves a ball horizontally, giving it a speed of 24 m/s from a height of 2.5m. The player is 12m from the net. The top of the net is 0.90m above the court surface. The ball clears the...
-
QUESTION 26 A beaker with a height of 12 cm is floating on the surface of water. This beaker has a mass of 400 g and is floating such that one third of its height is submerged under the surface of...
-
A 3ph 100 MVA 3.3/66 kV transformer T1 is connected to two buses of voltages respectively 3.3 kV and 66 kV. The fault MVA at 66 kV bus is 1000 MVA. Calculate the fault MVA at 3.3 kV bus. Answer :...
-
Modify BST to add a method size() that returns the number of key-value pairs in the symbol table. Use the approach of storing within each Node the number of nodes in the subtree rooted there.
-
A 10.0-F capacitor has plates with vacuum between them. Each plate carries a charge of magnitude 1 000 C. A particle with charge -3.00 C and mass 2.00 x 10-16 kg is fired from the positive plate...
-
A conducting sphere that carries a total charge of +6 μC is placed at the center of a conducting spherical shell that also carries a total charge of +6 μC. The conductors...
-
Stabilized effluent from a hydrogenation unit as given below is to be separated by ordinary distillation into five relatively pure products. Four distillation columns will be required. According to...
-
Larned Corporation recorded the following transactions for the just completed month. a. $ 80,000 in raw materials were purchased on account. b. $ 71,000 in raw materials were requisitioned for use in...
-
what ways has the incorporation of metal-organic frameworks (MOFs) in catalytic applications expanded the scope of catalysis, particularly in gas-phase reactions and environmental catalysis ?
-
Exercise 3.6 The following integral equation for f: [-a, a] R arises in a model of the motion of gas particles on a line: f(x) = 1 + = - - 1 1 + (x y) f (y) dy for -a x a. Prove that this...
-
Given that assets Rs.20, 00, 000. Tax Rs. 25,000 Profit before tax Rs. 2,25,000 Net worth Rs. 10,00,000 What is the Return on Equity (ROE)?
-
Explain Milton Friedman's wall of separation between economic power and political power and what this has to do with his narrow view of corporate social responsibility.
-
Consider the theoretical propositions in the article on Scientific Economics. If the hypotheses are statistically accepted, and general review of current economic circumstances strongly suggest that...
-
The insured registered nurse (RN) was working for a home healthcare agency. The RN was caring for a 19-year-old female patient who was essentially unresponsive due to malignant neoplasm of multiple...
-
1. (a) Discuss the service package that a hotel offers to customers according to Grnroos (1990). (b) Analyze the role of technology that a hotel can use in offering services to customers. 2. (a)...
-
Human Rights, Sex Trafficking, and Prostitution by Alice Leutchag. End Demand: End Demand Campaign (Links to an external site.) Clip is on home page of website. Read the article and watch the clip...
-
In 1994, the moose population in a park was measured to be 4290. By 1998, the population was measured again to be 3850. If the population continues to change linearly: Find a formula for the moose...
-
What are the principal differences among asset liquidity management, liability management, and balanced liquidity management?
-
What are the purposes of the SNMP Get Request and Set Request messages?
-
What is the purpose of the service abstraction layer in the Open Daylight SDN control?
-
What is meant by a super frame in the 802.15.4 Zigbee standard?
-
Document the CRC card for the temptation EBT.
-
Is the temptation pattern incomplete without the use of other patterns? Explain briefly.
-
What are the classes and patterns involved in defining the stable pattern for temptation?
Study smarter with the SolutionInn App