Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

0 0 0 0 0 0 0 0 0 0 4 0 1 5 1 6 : 4 0 1 5 1 6 : 5

0000000000401516 :
401516: 53 push %rbx
401517: 89 d0 mov %edx,%eax
401519: 29 f0 sub %esi,%eax
40151b: 89 c3 mov %eax,%ebx
40151d: c1 eb 1f shr $0x1f,%ebx
401520: 01 c3 add %eax,%ebx
401522: d1 fb sar %ebx
401524: 01 f3 add %esi,%ebx
401526: 39 fb cmp %edi,%ebx
401528: 7f 06 jg 401530
40152a: 7c 10 jl 40153c
40152c: 89 d8 mov %ebx,%eax
40152e: 5b pop %rbx
40152f: c3 ret
401530: 8d 53 ff lea -0x1(%rbx),%edx
401533: e8 de ff ff ff call 401516
401538: 01 c3 add %eax,%ebx
40153a: eb f0 jmp 40152c
40153c: 8d 7301 lea 0x1(%rbx),%esi
40153f: e8 d2 ff ff ff call 401516
401544: 01 c3 add %eax,%ebx
401546: eb e4 jmp 40152c
0000000000401548 :
401548: 4883 ec 18 sub $0x18,%rsp
40154c: 488d 4c 2408 lea 0x8(%rsp),%rcx
401551: 488d 54240c lea 0xc(%rsp),%rdx
401556: be ab 334000 mov $0x4033ab,%esi
40155b: b800000000 mov $0x0,%eax
401560: e8 db fb ff ff call 401140<__isoc99_sscanf@plt>
401565: 83 f802 cmp $0x2,%eax
401568: 7507 jne 401571
40156a: 837c 240c 0e cmpl $0xe,0xc(%rsp)
40156f: 7605 jbe 401576
401571: e81e 040000 call 401994
401576: ba 0e 000000 mov $0xe,%edx
40157b: be 00000000 mov $0x0,%esi
401580: 8b 7c 240c mov 0xc(%rsp),%edi
401584: e88d ff ff ff call 401516
401589: 83 f825 cmp $0x25,%eax
40158c: 7507 jne 401595
40158e: 837c 240825 cmpl $0x25,0x8(%rsp)
401593: 7405 je 40159a
401595: e8 fa 030000 call 401994
40159a: 4883 c418 add $0x18,%rsp
40159e: c3 ret
*hii i want the answer - i mean which input shold i put? what are the 2 numbers , not the exepnltion plese.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

More Books

Students also viewed these Databases questions

Question

What are the responsibilities of the position?

Answered: 1 week ago