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: 60% (5 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?
-
What are the two broad categories of the various currency regimes? What are the subgroups of those two broad categories?
-
In an attempt to reduce cost, a solar designer has proposed replacing the shell-and-tube heat exchanger in Figure 7.27 with a tube coil immersed in the storage tank. The shelland-tube heat exchanger...
-
A ride hailing company has their DB structured in 3 major tables as described in the SCHEMA section below. Write a query to fetch the top 100 users who traveled the most distance using the service....
-
Discuss the three main challenges you will need to consider and explain how they should be applied in design thinking and considering a viable International Business Idea.
-
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...
-
A pumping system is employed to pump a flow rate of 0.15 m3/s. The suction pipe diameter is 200 mm and the discharge pipe diameter is 150 mm. The pressure at the beginning of the suction pipe A is 2...
-
How does a synecdoche differ from a metonymy, and can you provide an example of each from notable literary works ? Explain
-
Erik Erikson's theory of initiative versus guilt captures the emotional and social changes of early childhood. A healthy sense of initiative depends on exploring the social world through play,...
-
Acid Test Ratio Example: Enterprise XYZ has a closing stock of 30,000 while its prepaid expenses are 5000. What will be its quick assets ratio if the current assets are wort 255000 while current...
-
Modern reproductive technology raises a number of difficult ethical issues in such areas as in vitro fertilization, genetic counseling, prenatal testing for developmental defects, abortion, prenatal...
-
1. A 2.3-kg hockey puck moving at 24 m/s is caught and held by a 75-kg goalie at rest. With what speed does the goalie slide on ice?
-
A 1.00-g sample of an alkaline earth metal chloride is treated with excess silver nitrate. All of the chloride is recovered as 1.38 g of silver chloride. Identify the metal.
-
Suppose that you could invest in the following projects but have only $30,000 to invest. How would you make your decision and which projects would you invest in? Project Cost $ 8,000 11,000 9,000...
-
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...
-
1)The Law of Demand is the first rule I'd apply to my company. According to this theory, if other variables remain constant, the amount desired of a good or service decreases as its price rises....
-
You have just purchased a new house and taken a mortgage for $100,000. The interest rate is 12% compounded monthly and you will make payments for 25 years. a) Find the size of the monthly payment. b)...
-
Explain the IS (Information Systems) audit process in the University of Illinois Springfield context. The context: The University of Illinois Springfield (UIS) is a public university. It relies...
Study smarter with the SolutionInn App