Dump of assembler code for function phase_4: => 0x0000000000401040 : 0x0000000000401044 : 0x0000000000401049 : 0x000000000040104e :...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Dump of assembler code for function phase_4: => 0x0000000000401040 <+0>: 0x0000000000401044 <+4>: 0x0000000000401049 <+9>: 0x000000000040104e <+14>: 0x0000000000401053 <+19>: 0x0000000000401058 <+24>: 0x000000000040105d <+29>: cmp 0x0000000000401060 <+32>: jne 0x0000000000401062 <+34>: 0x0000000000401067 <+39>: 0x0000000000401069 <+41>: callq 0x000000000040106e <+46>: 0x0000000000401073 <+51>: 0x0000000000401078 <+56>: 0xc (%rsp), %edi 0x000000000040107c <+60>: callq 0x40100e <func4> 0x0000000000401081 <+65>: cmp 0x0000000000401084 <+68>: jne $0xb,%eax 0x40108d <phase_4+77> 0x0000000000401086 <+70>: cmp1 $0xb, 0x8 (%rsp) 0x000000000040108b <+75>: je 0x401092 <phase_4+82> 0x000000000040108d <+77>: callq 0x40153e <explode_bomb> 0x0000000000401092 <+82>: add $0x18,%rsp 0x0000000000401096 <+86>: retq sub lea lea mov mov $0x0,%eax callq 0x400c30 <__isoc99_sscanf@plt> $0x2,%eax 0x401069 <phase_4+41> $0xe, 0xc (%rsp) cmpl jbe $0x18,%rsp 0x8 (%rsp), %rcx 0xc (%rsp), %rdx $0x402745,%esi mov mov mov 0x40106e <phase_4+46> 0x40153e <explode_bomb> $0xe,%edx $0x0,%esi Dump of assembler code for function func4: => 0x000000000040100e <+0>: 0x000000000040100f <+1>: 0x0000000000401011 <+3>: 0x0000000000401013 <+5>: 0x0000000000401015 <+7>: 0x0000000000401018 <+10>: 0x000000000040101a <+12>: 0x000000000040101c <+14>: 0x000000000040101e <+16>: cmp 0x0000000000401020 <+18>: jg 0x0000000000401022 <+20>: jl mov 0x0000000000401024 <+22>: 0x0000000000401026 <+24>: pop 0x0000000000401027 <+25>: retq 0x0000000000401028 <+26>: lea 0x000000000040102b <+29>: 0x0000000000401030 <+34>: 0x0000000000401032 <+36>: jmp 0x0000000000401034 <+38>: lea 0x0000000000401037 <+41>: callq add 0x000000000040103c <+46>: 0x000000000040103e <+48>: jmp push mov sub mov shr add sar add %rbx %edx, %eax %esi,%eax %eax,%ebx $0x1f,%ebx %eax,%ebx %ebx %esi,%ebx %edi,%ebx 0x401028 <func4+26> 0x401034 <func4+38> %ebx,%eax %rbx -0x1(%rbx),%edx callq 0x40100e <func4> add %eax,%ebx 0x401024 <func4+22> 0x1(%rbx),%esi 0x40100e <func4> %eax,%ebx 0x401024 <func4+22> Dump of assembler code for function phase_4: => 0x0000000000401040 <+0>: 0x0000000000401044 <+4>: 0x0000000000401049 <+9>: 0x000000000040104e <+14>: 0x0000000000401053 <+19>: 0x0000000000401058 <+24>: 0x000000000040105d <+29>: cmp 0x0000000000401060 <+32>: jne 0x0000000000401062 <+34>: 0x0000000000401067 <+39>: 0x0000000000401069 <+41>: callq 0x000000000040106e <+46>: 0x0000000000401073 <+51>: 0x0000000000401078 <+56>: 0xc (%rsp), %edi 0x000000000040107c <+60>: callq 0x40100e <func4> 0x0000000000401081 <+65>: cmp 0x0000000000401084 <+68>: jne $0xb,%eax 0x40108d <phase_4+77> 0x0000000000401086 <+70>: cmp1 $0xb, 0x8 (%rsp) 0x000000000040108b <+75>: je 0x401092 <phase_4+82> 0x000000000040108d <+77>: callq 0x40153e <explode_bomb> 0x0000000000401092 <+82>: add $0x18,%rsp 0x0000000000401096 <+86>: retq sub lea lea mov mov $0x0,%eax callq 0x400c30 <__isoc99_sscanf@plt> $0x2,%eax 0x401069 <phase_4+41> $0xe, 0xc (%rsp) cmpl jbe $0x18,%rsp 0x8 (%rsp), %rcx 0xc (%rsp), %rdx $0x402745,%esi mov mov mov 0x40106e <phase_4+46> 0x40153e <explode_bomb> $0xe,%edx $0x0,%esi Dump of assembler code for function func4: => 0x000000000040100e <+0>: 0x000000000040100f <+1>: 0x0000000000401011 <+3>: 0x0000000000401013 <+5>: 0x0000000000401015 <+7>: 0x0000000000401018 <+10>: 0x000000000040101a <+12>: 0x000000000040101c <+14>: 0x000000000040101e <+16>: cmp 0x0000000000401020 <+18>: jg 0x0000000000401022 <+20>: jl mov 0x0000000000401024 <+22>: 0x0000000000401026 <+24>: pop 0x0000000000401027 <+25>: retq 0x0000000000401028 <+26>: lea 0x000000000040102b <+29>: 0x0000000000401030 <+34>: 0x0000000000401032 <+36>: jmp 0x0000000000401034 <+38>: lea 0x0000000000401037 <+41>: callq add 0x000000000040103c <+46>: 0x000000000040103e <+48>: jmp push mov sub mov shr add sar add %rbx %edx, %eax %esi,%eax %eax,%ebx $0x1f,%ebx %eax,%ebx %ebx %esi,%ebx %edi,%ebx 0x401028 <func4+26> 0x401034 <func4+38> %ebx,%eax %rbx -0x1(%rbx),%edx callq 0x40100e <func4> add %eax,%ebx 0x401024 <func4+22> 0x1(%rbx),%esi 0x40100e <func4> %eax,%ebx 0x401024 <func4+22>
Expert Answer:
Answer rating: 100% (QA)
ANSWER The function phase4 takes two arguments stored in rcx and rdx respectively and performs the following operations 1 Subtracts 0x18 from rsp to a... View the full answer
Related Book For
Fundamentals of Heat and Mass Transfer
ISBN: 978-0471457282
6th Edition
Authors: Incropera, Dewitt, Bergman, Lavine
Posted Date:
Students also viewed these accounting questions
-
For each of the four separate situations 1 through 4 below, compute the unknown amounts referenced by the letters a through d shown. 1 2 3 Beginning Assets.. $28,000 18,600 $12,000 5,000 $28,000...
-
For the water-jet pump of Prob. 3.36, add the following data: p1 p2 25 lbf/in2, and the distance between sections 1 and 3 is 80 in. If the average wall shear stress...
-
For the water-channel flow of Fig P3.177, h1 = 1.5 m, H = 4 m, and V1 = 3 m/s. Neglecting losses and assuming uniform flow at sections 1 and 2, find the downstream depth h2, and show that two...
-
In April 1999, one of Capital Blue Cross' health-care insurance plans had been in the field for three years, but hadn't performed as well as expected. The ratio of premiums to claims payments wasn't...
-
Is the bottled water youre drinking really purified water? A study of various brands of bottled water conducted by the Natural Resources Defense Council found that 25% of bottled water is just tap...
-
The accountant for Nelly's Dress Shop prepared the fourth quarter 2017 cash budget that appears on the following spreadsheet. Nelly's has a policy to maintain a minimum cash balance of $14,000 before...
-
Merit increases require a single performance number, while most incentive plans have multiple and varying performance measures. How can the PM system meet both needs?
-
In Oregon, employers who are covered by the state workers' compensation law withhold employee contributions from the wages of covered employees at the rate of 2.8 for each hour or part of an hour...
-
Identify the problem statement for Apple bites back. Next, identify what will Apple need to do to maintain product innovation and customer loyalty? How has Apple developed extreme loyalty among...
-
In each row of the file named Problem24data.xlsx, you will find a citys zip code, city name, state (always Texas!), latitude, and longitude. Use formulas to extract the name of the city in each row....
-
How do I calculate the net present value (NVP) of the proposed investment? How do I provide a recommendation of the company, including a discussion of the strengths and risks of the company's...
-
1. Amir is the founder of a company and owner of 3.1 million of its shares. Two years ago, the company raised $1.0 million from outside investors through an issue of shares. The issue provides these...
-
1. The bond of Nichols Corp is currently trading at (the price of a bond) $700.00. The bond matures in 20 years and has today a yield to maturity of 3%. This is a semiannual coupon bond with a par...
-
4T Corp. will issue a zero-coupon bond this coming month. The bond's projected yield is 6%. If the par value is $1,200 and the maturity is 25 years, What is the bond's price using semiannual...
-
If you start to save moa find a firm's divisional weighted average cost of capital (WACC) based on the CAPM with the following inputs: the weight of debt and equity is 30% and 70% respectively; the...
-
Pederson Company reported the following: Manufacturing costs $2,000,000 50,000 47,000 units sold for $75 Units manufactured Units sold per unit Beginning inventory O units What is the amount of...
-
The rabbit takes two jumps for every three jumps of the frog. The two jumping animals are 27 m away, and it takes the rabbit 4 jumps to cover 1 m. How many jumps will the frog take before they are...
-
The area of a rectangle is 30 cm 2 and its perimeter is 26 cm. Find the length and width of the rectangle.
-
One end of a stainless steel (AISI 316) rod of diameter 10 mm and length 0.16 m is inserted into a fixture maintained at 200C. The rod, covered with an insulating sleeve, reaches a uniform...
-
A long, V-shaped part is heat treated by suspending it in a tubular furnace with a diameter of 2 m and a wall temperature of 1000 K. The "vee" is I-m long on a side and has an angle of 60?. If the...
-
Species A is evaporating from a flat surface into species B. Assume that the concentration profile for species A in the concentration boundary layer is of the form CA(y) = Dy2 + Ey + F, where D, E,...
-
Two radio stations have the same power output from their antennas. One broadcasts AM at a frequency of \(1000 \mathrm{kHz}\) and one broadcasts FM at a frequency of \(100 \mathrm{MHz}\). Which...
-
A paramecium is covered with motile hairs called cilia that propel it at a speed of \(1 \mathrm{~mm} / \mathrm{s}\). If the paramecium has a volume of \(2 \times 10^{-13} \mathrm{~m}^{3}\) and a...
-
Photon P in Figure Q28.35 moves an electron from energy level \(n=1\) to energy level \(n=3\). The electron jumps down to \(n=2\), emitting photon \(\mathrm{Q}\), and then jumps down to \(n=1\),...
Study smarter with the SolutionInn App