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?
-
Prepare a sales ledger control account from the following information: 2012 March 1 Debit balances Totals for March: Sales day book Cash and cheques received from debtors Discounts allowed Debit...
-
The plaintiffs, Lee and Yoon, were the parents of H.L., a South Korean citizen who attended high school in Idaho as part of an exchange program. With permission from both plaintiffs and his host...
-
What will your portfolio be worth in 10 years? In 20 years? When you stop working? The Human Resources Department at Tri-State Corporation was asked to develop a financial planning model that would...
-
Suppose the 3-month interest rate (i) is 4%/year in New York and 8% in Frankfurt, and the $/ FD = 2%/year. A US investor would then invest in Frankfurt by purchasing spot and at the same time selling...
-
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...
-
If two projects both require the same investment and one has an NPV of 100 and the other an NPV of 240, which should be selected? Would this always be the case?
-
Why might conflicts arise between stockholders and debtholders?
-
If one firm is growing rapidly and another is not, how might this distort a comparison of their inventory turnover ratios?
-
Discuss the differences between the two types of quantity discounts. Is one better than the other? If so, under what conditions?
-
Global warming is not just about the increase in the average surface temperature of the earth. It also implies there will be variations of temperature and weather patterns on a regional basis. What...
-
Identify some macroeconomic factors that influence interest rates and explain the effects of each.
-
Identify the primary audit objectives that auditors hope to accomplish by confirming a clients year-end accounts receivable. Explain the difference between positive and negative confirmation requests...
-
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...
-
perform a one-sample z-test for a population mean using the p value approach. be sure to state the hypothesis and the significance level, to compute the value of the test statistic, to obtain the p...
-
You need to interpret the results of a recent paired t-test.What does the following mean? The test statistic t-value = -1.47and the p-value = 0.01. A.) The small p-value means there is great chance...
-
When nitrogen gas (molecular formula N 2 , consistingof two nitrogen atoms N) and hydrogen gas (molecular formulaH 2 , consisting of two hydrogen atoms H) are combined inthe right proportions and...
Study smarter with the SolutionInn App