Question: 1. Consider the C as well as disassembled code below: int main(int argc, char *argv) long x-3,y-9,z-0; z- top(x,y); return z; long top(1ong x,long y)

 1. Consider the C as well as disassembled code below: int

1. Consider the C as well as disassembled code below: int main(int argc, char *argv) long x-3,y-9,z-0; z- top(x,y); return z; long top(1ong x,long y) f return leaf(x,y); long leaf long y,long z) return Z 1 0000080000480466 2 4084d6: 3 4804d9: 4 40e4dc: 48 89 f8 48 29 fo c3 mov sub retq %rdi,%rax %rsi,%rax 6 4004dd: 7 40040: 8 4004e5: 9 40e4ea: 48 01 f7 b8 00 0 00 00 e8 ec ff ff ff f3 c3 add %rsi,%rdi mov $0x8,%eax callq 4004d6 repz retq 11 40e4ec: 12 4004f1: 13 4004f6: 14 4004fb: 15 400500: be e9 00 0e 00 bf 03 0 00 00 b8 e0 00 00 00 mov $0x9,%esi mov $0x3,Kedi mov $exe,Kea:x callq 4004dd repz retq f3 c3 Fill the table with appropriate values. See Figure 27 in page 243 as well as the Practice problem 3.32 of page 244-245 for reference rsp x7ffffffffe820-- Line number!! PC Instruction l%rdi Orsil Orasl % 4%rsp Description 4004fb callq 390x fffiffe$Call opw.y 15

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!