This problem concerns the relocated program in Figure 7.12(a). A. What is the hex address of the
Question:
This problem concerns the relocated program in Figure 7.12(a).
A. What is the hex address of the relocated reference to sum in line 5?
B. What is the hex value of the relocated reference to sum in line 5?
Figure 7.12(a)
Transcribed Image Text:
(a) Relocated .text section
1 00000000004004d0
(a) Relocated .text section
1 00000000004004d0 :
4004d0: 48 83 ec 08
2
3
be 02 00 00 00
4
bf 18 10 60 00
5
4004de: e8 05 00 00 00
4004e3: 48 83 c4 08
4004e7: c3
6
7
8
9
10
11
12
13
14
15
16
17
4004d4:
4004d9:
00000000004004e8 :
4004e8: b8 00 00 00 00
ba 00 00 00 00
4004ed:
4004f2:
eb 09
400414:
48 63 ca
400417:
03 04 8f
40041a:
83 c2 01
4004fd:
39 12
4004ff: 7c f3
400501: f3 c3
sub
mov
mov
$0x8, %rsp
$0x2,%esi
$0x601018,%edi
callq 4004e8
add
$0x8,%rsp
retq
add
add
mov
mov
jmp 4004fd
movslq %edx, %rcx
$0x0,%eax
$0x0,%edx
(%rdi,%rcx, 4), %eax
$0x1, %edx
%esi,%edx
4004f4
%edi = array
sum ()
cmp
j1
repz retq
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 50% (6 reviews)
This problem concerns the disassembly listing in Figure 712a Our purpose here is to give you some ...View the full answer
Answered By
Kathy Wendt
I have a Kindergarten to 8th Grade Teaching Certificate as well as a Reading Minor, an Online Course Endorsement, and an ENL (English as a New Language) Certificate. I have taught in many different classrooms. I have taught in Hutterite Colony Schools which are totally ENL as well as being multi-grade classrooms. For example, I have taught a grade 3-8 classroom, a K-8 classroom, amongst others that were 2 grades. I have also taught two years in a 4-5 Grade Classroom. I have taught in Special Education Classrooms, one grade classrooms, and have even taught classes in a Junior Jail Classroom. I have also taught K-2 classrooms.
I use a variety of ways to teach such as mini-lessons, groups, one-on-one, flip books, interactive notebooks, flash cards, and of course, games.
I have been teaching for 10 years and have taught in a wide variety of classrooms to a wide variety of students.
0.00
0 Reviews
10+ Question Solved
Related Book For
Computer Systems A Programmers Perspective
ISBN: 9781292101767
3rd Global Edition
Authors: Randal E. Bryant, David R. O'Hallaron
Question Posted:
Students also viewed these Computer science questions
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Carol Harris, Ph.D, CPA, is a single taxpayer and she lives at 674 Yankee Street, Durham, NC 27409. Her Social Security number is 793-52-4335. Carol is an Associate Professor of Accounting at a local...
-
This problem concerns the design of a multiplier for unsigned binary numbers that multiplies a 4-bit number by a 16-bit number to give a 20-bit product. To speed up the multiplication, a 4-by-4 array...
-
Find an equation of the tangent plane at the given point. f(x, y) = x + y, (4,1)
-
What is the reasoning behind using the current ratio as a measure of liquidity?
-
Actual direct materials costs differ from the master budget amount. What are the three primary reasons for the difference?
-
Identify and write out the equations for four ratios that show the combined effects of liquidity, asset management, and debt management on profitability. AppendixLO1
-
Health insurance benefits vary by the size of the company (Atlanta Business Chronicle, December 31, 2010). The sample data below show the number of companies providing health insurance for small,...
-
7 Panthers Co has received a special order for 2700 units of its product at a special price of $180. The product normally sets for $270 and the following manufacturing costs Direct materials Direct...
-
Write a wrapper function for sleep, called wakeup, with the following interface: unsigned int wakeup(unsigned int secs); The wakeup function behaves exactly as the sleep function, except that it...
-
Consider the call to function swap in object file m.o (Figure 7.5). Now suppose that the linker relocates .text in m.o to address 0x4004d0 and swap to address 0x4004e8. Then what is the value of the...
-
Suppose that X is a random variable for which the m.g.f. is as follows: (t) = 1/6(4 + et + et) for < t < . Find the probability distribution of X.
-
The Campbell Company is considering adding a robotic paint sprayer to its production line. The sprayer's base price is $1,070,000, and it would cost another $21,000 to install it. The machine falls...
-
Problem 1. (10 points) Consider the space X = R22 and the map L XX defined as traceX -traceX L:X X = X 0 0 1. Show that L is a linear map; 2. Find the matrix representation M = mat L in the canonical...
-
Suppose that the exchange rate is 1.25 = 1.00. Options (calls and puts) are available on the Philadelphia exchangein units of10,000 with strike prices of $1.60/1.00. Options (calls and puts) are...
-
As part of the study on ongoing fright symptoms due to exposure to horror movies at a young age, the following table was presented to describe the lasting impact these movies have had during bedtime...
-
Exercise 1.10: State space realization Define a state vector and realize the following models as state space models by hand. One should do a few by hand to understand what the Octave or MATLAB calls...
-
A classroom measures 30 m by 10 m and is 3 m in height. If the temperature is 20 8C and the humidity is 60%, the amount of water in the air is nearest: (A) 6.9 kg (B) 7.1 kg (C) 8.7 kg (D) 9.4 kg
-
B.) What is the approximate concentration of free Zn 2+ ion at equilibrium when 1.0010 -2 mol zinc nitrate is added to 1.00 L of a solution that is 1.080 M in OH - . For [Zn(OH) 4 ] 2- , K f = 4.610...
-
We would like to execute the loop below as efficiently as possible. We have two different machines, a MIMD machine and a SIMD machine. for (i=0; i < 2000; i++) for (j=0; j <3000; j++) X_array[i][j] =...
-
Refer to Figure 6.14b, which shows an n-cube interconnect topology of order 3 that interconnects 8 nodes. One attractive feature of an n-cube interconnection network topology is its ability to...
-
Benchmarking is field of study that involves identifying representative workloads to run on specific computing platforms in order to be able to objectively compare performance of one system to...
-
Question 1 of 35. Self-employed taxpayers pay self-employment tax on: The gross profit of the business reduced by 15.3%. The net profit of the business. The net profit of the business reduced by...
-
Problem 5-29 (Algo) Changes in Cost Structure; Break-Even Analysis; Operating Leverage; Margin of Safety [LO5-4, LOS-5, LO5-7, LO5-8) Morton Company's contribution format income statement for last...
-
Bauer Industries is an automobile manufacturer. Management is currently evaluating a proposal to build a plant that will manufacture lightweight trucks. Bauer plans to use a cost of capital of 11.7%...
Study smarter with the SolutionInn App