Question: Dump of assembler code for function phase _ 2 : = > 0 x 0 0 0 0 5 5 5 5 5 5 5

Dump of assembler code for function phase_2:
=>0x00005555555574c9<+0>: push %rbp
0x00005555555574ca <+1>: push %rbx
0x00005555555574cb <+2>: sub $0x28,%rsp
0x00005555555574cf <+6>: mov %rsp,%rsi
0x00005555555574d2<+9>: call 0x555555557b7f
0x00005555555574d7<+14>: cmpl $0x0,(%rsp)
0x00005555555574db <+18>: js 0x5555555574e7
0x00005555555574dd <+20>: mov %rsp,%rbp
0x00005555555574e0<+23>: mov $0x1,%ebx
0x00005555555574e5<+28>: jmp 0x5555555574fa
0x00005555555574e7<+30>: call 0x555555557b43
0x00005555555574ec <+35>: jmp 0x5555555574dd
0x00005555555574ee <+37>: add $0x1,%ebx
0x00005555555574f1<+40>: add $0x4,%rbp
0x00005555555574f5<+44>: cmp $0x6,%ebx
0x00005555555574f8<+47>: je 0x55555555750b
0x00005555555574fa <+49>: mov %ebx,%eax
0x00005555555574fc <+51>: add 0x0(%rbp),%eax
0x00005555555574ff <+54>: cmp %eax,0x4(%rbp)
--Type for more, q to quit, c to continue without paging--c
0x0000555555557504<+59>: call 0x555555557b43
0x0000555555557509<+64>: jmp 0x5555555574ee
0x000055555555750b <+66>: add $0x28,%rsp
0x000055555555750f <+70>: pop %rbx
0x0000555555557510<+71>: pop %rbp
0x0000555555557511<+72>: ret

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 Programming Questions!