Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( gdb ) disas Dump of assembler code for function phase _ 3 : = > 0 x 0 0 0 0 0 0 0

(gdb) disas
Dump of assembler code for function phase_3:
=>0x0000000000400f54<+0>: sub $0x18,%rsp
0x0000000000400f58<+4>: lea 0x8(%rsp),%r8
0x0000000000400f5d <+9>: lea 0x7(%rsp),%rcx
0x0000000000400f62<+14>: lea 0xc(%rsp),%rdx
0x0000000000400f67<+19>: mov $0x402556,%esi
0x0000000000400f6c <+24>: mov $0x0,%eax
0x0000000000400f71<+29>: callq 0x400c30<__isoc99_sscanf@plt>
0x0000000000400f76<+34>: cmp $0x2,%eax
0x0000000000400f79<+37>: jle 0x400f91
0x0000000000400f7b <+39>: cmpl $0x7,0xc(%rsp)
0x0000000000400f80<+44>: ja 0x401089
0x0000000000400f86<+50>: mov 0xc(%rsp),%eax
0x0000000000400f8a <+54>: jmpq *0x402570(,%rax,8)
0x0000000000400f91<+61>: callq 0x4015d7
0x0000000000400f96<+66>: jmp 0x400f7b
0x0000000000400f98<+68>: mov $0x6f,%eax
0x0000000000400f9d <+73>: cmpl $0x306,0x8(%rsp)
0x0000000000400fa5<+81>: je 0x401093
0x0000000000400fab <+87>: callq 0x4015d7
0x0000000000400fb0<+92>: mov $0x6f,%eax
0x0000000000400fb5<+97>: jmpq 0x401093
0x0000000000400fba <+102>: mov $0x7a,%eax
0x0000000000400fbf <+107>: cmpl $0x178,0x8(%rsp)
0x0000000000400fc7<+115>: je 0x401093
0x0000000000400fcd <+121>: callq 0x4015d7
0x0000000000400fd2<+126>: mov $0x7a,%eax
0x0000000000400fd7<+131>: jmpq 0x401093
0x0000000000400fdc <+136>: mov $0x79,%eax
0x0000000000400fe1<+141>: cmpl $0x11d,0x8(%rsp)
0x0000000000400fe9<+149>: je 0x401093
0x0000000000400fef <+155>: callq 0x4015d7
0x0000000000400ff4<+160>: mov $0x79,%eax
0x0000000000400ff9<+165>: jmpq 0x401093
0x0000000000400ffe <+170>: mov $0x6c,%eax
0x0000000000401003<+175>: cmpl $0x2f3,0x8(%rsp)
0x000000000040100b <+183>: je 0x401093
0x0000000000401011<+189>: callq 0x4015d7
0x0000000000401016<+194>: mov $0x6c,%eax
0x000000000040101b <+199>: jmp 0x401093
0x000000000040101d <+201>: mov $0x72,%eax
0x0000000000401022<+206>: cmpl $0xf4,0x8(%rsp)
0x000000000040102a <+214>: je 0x401093
0x000000000040102c <+216>: callq 0x4015d7
0x0000000000401031<+221>: mov $0x72,%eax
0x0000000000401036<+226>: jmp 0x401093
0x0000000000401038<+228>: mov $0x78,%eax
0x000000000040103d <+233>: cmpl $0x10e,0x8(%rsp)
0x0000000000401045

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

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago