Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dump of assembler code for function phase_6:
- 0x08048bb7 <+0>: push %ebp
- 0x08048bb8 <+1>: mov %esp,%ebp
- 0x08048bba <+3>: push %edi
- 0x08048bbb <+4>: push %esi
- 0x08048bbc <+5>: push %ebx
- => 0x08048bbd <+6>: sub $0x5c,%esp
- 0x08048bc0 <+9>: lea -0x30(%ebp),%eax
- 0x08048bc3 <+12>: mov %eax,0x4(%esp)
- 0x08048bc7 <+16>: mov 0x8(%ebp),%eax
- 0x08048bca <+19>: mov %eax,(%esp)
- 0x08048bcd <+22>: call 0x80493fc <read_six_numbers>
- 0x08048bd2 <+27>: mov $0x0,%esi
- 0x08048bd7 <+32>: lea -0x30(%ebp),%edi
- 0x08048bda <+35>: mov (%edi,%esi,4),%eax
- 0x08048bdd <+38>: sub $0x1,%eax
- 0x08048be0 <+41>: cmp $0x5,%eax
- 0x08048be3 <+44>: jbe 0x8048bea <phase_6+51>
- 0x08048be5 <+46>: call 0x80493a2 <explode_bomb>
- 0x08048bea <+51>: add $0x1,%esi
- 0x08048bed <+54>: cmp $0x6,%esi
- 0x08048bf0 <+57>: je 0x8048c14 <phase_6+93>
- 0x08048bf2 <+59>: lea (%edi,%esi,4),%ebx
- 0x08048bf5 <+62>: mov %esi,-0x4c(%ebp)
- 0x08048bf8 <+65>: mov -0x4(%edi,%esi,4),%eax
- 0x08048bfc <+69>: cmp (%ebx),%eax
- 0x08048bfe <+71>: jne 0x8048c05 <phase_6+78>
- 0x08048c00 <+73>: call 0x80493a2 <explode_bomb>
- 0x08048c05 <+78>: addl $0x1,-0x4c(%ebp)
- 0x08048c09 <+82>: add $0x4,%ebx
- 0x08048c0c <+85>: cmpl $0x5,-0x4c(%ebp)
- 0x08048c10 <+89>: jle 0x8048bf8 <phase_6+65>
- 0x08048c12 <+91>: jmp 0x8048bda <phase_6+35>
- 0x08048c14 <+93>: mov $0x0,%ebx
- 0x08048c19 <+98>: lea -0x30(%ebp),%edi
- 0x08048c1c <+101>: jmp 0x8048c34 <phase_6+125>
- 0x08048c1e <+103>: mov 0x8(%edx),%edx
- 0x08048c21 <+106>: add $0x1,%eax
- 0x08048c24 <+109>: cmp %ecx,%eax
- 0x08048c26 <+111>: jne 0x8048c1e <phase_6+103>
- 0x08048c28 <+113>: mov %edx,-0x48(%ebp,%esi,4)
- 0x08048c2c <+117>: add $0x1,%ebx
- 0x08048c2f <+120>: cmp $0x6,%ebx
- 0x08048c32 <+123>: je 0x8048c4a <phase_6+147>
- 0x08048c34 <+125>: mov %ebx,%esi
- 0x08048c36 <+127>: mov (%edi,%ebx,4),%ecx
- 0x08048c39 <+130>: mov $0x1,%eax
- 0x08048c3e <+135>: mov $0x804b4dc,%edx
- 0x08048c43 <+140>: cmp $0x1,%ecx
- 0x08048c46 <+143>: jg 0x8048c1e <phase_6+103>
- 0x08048c48 <+145>: jmp 0x8048c28 <phase_6+113>
- 0x08048c4a <+147>: mov -0x48(%ebp),%ebx
- 0x08048c4d <+150>: mov -0x44(%ebp),%eax
- 0x08048c50 <+153>: mov %eax,0x8(%ebx)
- 0x08048c53 <+156>: mov -0x40(%ebp),%edx
- 0x08048c56 <+159>: mov %edx,0x8(%eax)
- 0x08048c59 <+162>: mov -0x3c(%ebp),%eax
- 0x08048c5c <+165>: mov %eax,0x8(%edx)
- 0x08048c5f <+168>: mov -0x38(%ebp),%edx
- 0x08048c62 <+171>: mov %edx,0x8(%eax)
- 0x08048c65 <+174>: mov -0x34(%ebp),%eax
- 0x08048c68 <+177>: mov %eax,0x8(%edx)
- 0x08048c6b <+180>: movl $0x0,0x8(%eax)
- 0x08048c72 <+187>: mov $0x0,%esi
- 0x08048c77 <+192>: mov 0x8(%ebx),%eax
- 0x08048c7a <+195>: mov (%ebx),%edx
- 0x08048c7c <+197>: cmp (%eax),%edx
- 0x08048c7e <+199>: jge 0x8048c85 <phase_6+206>
- 0x08048c80 <+201>: call 0x80493a2 <explode_bomb>
- 0x08048c85 <+206>: mov 0x8(%ebx),%ebx
- 0x08048c88 <+209>: add $0x1,%esi
- 0x08048c8b <+212>: cmp $0x5,%esi
- 0x08048c8e <+215>: jne 0x8048c77 <phase_6+192>
- 0x08048c90 <+217>: add $0x5c,%esp
- 0x08048c93 <+220>: pop %ebx
- 0x08048c94 <+221>: pop %esi
- 0x08048c95 <+222>: pop %edi
- 0x08048c96 <+223>: pop %ebp
- 0x08048c97 <+224>: ret
- End of assembler dump.
Add Comment
Please, Sign In to add comment