Question: ( gdb ) disassemble phase _ 5 Dump of assembler code for function phase _ 5 : 0 x 0 0 0 0 0 0

(gdb) disassemble phase_5
Dump of assembler code for function phase_5:
0x0000000000401098<+0>: push %rbx
0x0000000000401099<+1>: sub $0x10,%rsp
0x000000000040109d <+5>: mov%rdi,%rbx
0x00000000004010a0<+8>: callq0x401344
0x00000000004010a5<+13>: cmp $0x6,%eax
0x00000000004010a8<+16>: jne0x4010e9
0x00000000004010aa <+18>: mov $0x0,%eax
0x00000000004010af <+23>: movzbl (%rbx,%rax,1),%edx
0x00000000004010b3<+27>: and $0xf,%edx
0x00000000004010b6<+30>: movzbl 0x402540(%rdx),%edx
0x00000000004010bd <+37>: mov%dl,0x9(%rsp,%rax,1)
0x00000000004010c1<+41>: add $0x1,%rax
0x00000000004010c5<+45>: cmp $0x6,%rax
0x00000000004010c9<+49>: jne0x4010af
0x00000000004010cb <+51>: movb $0x0,0xf(%rsp)
0x00000000004010d0<+56>: mov $0x4024ee,%esi
0x00000000004010d5<+61>: lea0x9(%rsp),%rdi
0x00000000004010da <+66>: callq0x401361
0x00000000004010df <+71>: test %eax,%eax
0x00000000004010e1<+73>: jne0x4010f0
0x00000000004010e3<+75>: add $0x10,%rsp
0x00000000004010e7<+79>: pop%rbx
0x00000000004010e8<+80>: retq
0x00000000004010e9<+81>: callq0x4016cd
0x00000000004010ee <+86>: jmp0x4010aa
0x00000000004010f0<+88>: callq0x4016cd
0x00000000004010f5<+93>: jmp0x4010e3
End of assembler dump.

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!