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

 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 (long x,long y) i x=x+y; return leaf (x,y); long leaf (long y,long z) f z=y-z; return z; 1 00000000004004d6 : 6 4004dd: 7 4004e0: 8 4004e5: 9 4004ea: %rsi, %rdi 48 01 f7 b8 00 00 00 00 e8 ec ff ff ff f3 c3 add mov $0x0 , %eax callg 4004d6 repz retq 10 00000000004004ec

: 11 4004ec: 12 4004f1: 13 4004f6: 14 4004fb: 15 400500: mov $0x3 , %esi mov $0x3 , %edi mov $0x0,%eax callg 4004dd repz retq be 09 00 00 00 bf 03 00 00 00 b8 00 00 00 00 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 ine number! PC Instruction|% rdi % rsil % rax| 4fb call % rs * % rsp Description x7fffffffe82 all top(x 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 (long x,long y) i x=x+y; return leaf (x,y); long leaf (long y,long z) f z=y-z; return z; 1 00000000004004d6 : 6 4004dd: 7 4004e0: 8 4004e5: 9 4004ea: %rsi, %rdi 48 01 f7 b8 00 00 00 00 e8 ec ff ff ff f3 c3 add mov $0x0 , %eax callg 4004d6 repz retq 10 00000000004004ec
: 11 4004ec: 12 4004f1: 13 4004f6: 14 4004fb: 15 400500: mov $0x3 , %esi mov $0x3 , %edi mov $0x0,%eax callg 4004dd repz retq be 09 00 00 00 bf 03 00 00 00 b8 00 00 00 00 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 ine number! PC Instruction|% rdi % rsil % rax| 4fb call % rs * % rsp Description x7fffffffe82 all top(x

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!