SlideShare a Scribd company logo
1 of 2
0x08048d02 <+0>:push %ebp
0x08048d03 <+1>:mov %esp,%ebp
0x08048d05 <+3>:push %esi
0x08048d06 <+4>:push %ebx
0x08048d07 <+5>:sub $0x30,%esp
0x08048d0a <+8>:lea -0x20(%ebp),%eax
0x08048d0d <+11>:mov %eax,0x4(%esp)
0x08048d11 <+15>:mov 0x8(%ebp),%eax
0x08048d14 <+18>:mov %eax,(%esp)
0x08048d17 <+21>:call 0x804914a <read_six_numbers>
0x08048d1c <+26>:cmpl $0x0,-0x20(%ebp)//first int.
0x08048d20 <+30>:jns 0x8048d27 <phase_2+37>
0x08048d22 <+32>:call 0x8049108 <explode_bomb>
0x08048d27 <+37>:mov $0x1,%ebx//set ebx = 0x1
0x08048d2c <+42>:lea -0x20(%ebp),%esi//set esi to the
address of the first element of the array
0x08048d2f <+45>:mov -0x4(%esi,%ebx,4),%eax//eax = esi
+ ebx * 4
0x08048d33 <+49>:sub %ebx,%eax//phase
0x08048d35 <+51>:cmp %eax,(%esi,%ebx,4)
0x08048d38 <+54>:je 0x8048d3f <phase_2+61>
0x08048d3a <+56>:call 0x8049108 <explode_bomb>
0x08048d3f <+61>:add $0x1,%ebx
0x08048d42 <+64>:cmp $0x6,%ebx
0x08048d45 <+67>:jne 0x8048d2f <phase_2+45>
0x08048d47 <+69>:add $0x30,%esp
0x08048d4a <+72>:pop %ebx
0x08048d4b <+73>:pop %esi
0x08048d4c <+74>:pop %ebp
0x08048d4d <+75>:ret
0x08048d02 +0push   ebp   0x08048d03 +1mov    esp,eb.docx

More Related Content

More from TatianaMajor22

Behavior in OrganizationsIntercultural Communications Exercise .docx
Behavior in OrganizationsIntercultural Communications Exercise .docxBehavior in OrganizationsIntercultural Communications Exercise .docx
Behavior in OrganizationsIntercultural Communications Exercise .docxTatianaMajor22
 
Discussion Question Comparison of Theories on Anxiety Disord.docx
Discussion Question Comparison of Theories on Anxiety Disord.docxDiscussion Question Comparison of Theories on Anxiety Disord.docx
Discussion Question Comparison of Theories on Anxiety Disord.docxTatianaMajor22
 
I have always liked Dustin Hoffmans style of acting, in this mov.docx
I have always liked Dustin Hoffmans style of acting, in this mov.docxI have always liked Dustin Hoffmans style of acting, in this mov.docx
I have always liked Dustin Hoffmans style of acting, in this mov.docxTatianaMajor22
 
Is obedience to the law sufficient to ensure ethical behavior Wh.docx
Is obedience to the law sufficient to ensure ethical behavior Wh.docxIs obedience to the law sufficient to ensure ethical behavior Wh.docx
Is obedience to the law sufficient to ensure ethical behavior Wh.docxTatianaMajor22
 
If you are using the Blackboard Mobile Learn IOS App, please clic.docx
If you are using the Blackboard Mobile Learn IOS App, please clic.docxIf you are using the Blackboard Mobile Learn IOS App, please clic.docx
If you are using the Blackboard Mobile Learn IOS App, please clic.docxTatianaMajor22
 
Is the proliferation of social media and communication devices a .docx
Is the proliferation of social media and communication devices a .docxIs the proliferation of social media and communication devices a .docx
Is the proliferation of social media and communication devices a .docxTatianaMajor22
 
MATH 107 FINAL EXAMINATIONMULTIPLE CHOICE1. Deter.docx
MATH 107 FINAL EXAMINATIONMULTIPLE CHOICE1. Deter.docxMATH 107 FINAL EXAMINATIONMULTIPLE CHOICE1. Deter.docx
MATH 107 FINAL EXAMINATIONMULTIPLE CHOICE1. Deter.docxTatianaMajor22
 
If the CIO is to be valued as a strategic actor, how can he bring.docx
If the CIO is to be valued as a strategic actor, how can he bring.docxIf the CIO is to be valued as a strategic actor, how can he bring.docx
If the CIO is to be valued as a strategic actor, how can he bring.docxTatianaMajor22
 
I am showing below the proof of breakeven, which is fixed costs .docx
I am showing below the proof of breakeven, which is fixed costs .docxI am showing below the proof of breakeven, which is fixed costs .docx
I am showing below the proof of breakeven, which is fixed costs .docxTatianaMajor22
 
Examine the way in which death and dying are viewed at different .docx
Examine the way in which death and dying are viewed at different .docxExamine the way in which death and dying are viewed at different .docx
Examine the way in which death and dying are viewed at different .docxTatianaMajor22
 
Karimi 1 Big Picture Blog Post ​ First Draft College .docx
Karimi 1 Big Picture Blog Post ​ First Draft College .docxKarimi 1 Big Picture Blog Post ​ First Draft College .docx
Karimi 1 Big Picture Blog Post ​ First Draft College .docxTatianaMajor22
 
Please try not to use hard words Thank youWeek 3Individual.docx
Please try not to use hard words Thank youWeek 3Individual.docxPlease try not to use hard words Thank youWeek 3Individual.docx
Please try not to use hard words Thank youWeek 3Individual.docxTatianaMajor22
 
1. Uncertainty that the party on the other side of an agreement.docx
1. Uncertainty that the party on the other side of an agreement.docx1. Uncertainty that the party on the other side of an agreement.docx
1. Uncertainty that the party on the other side of an agreement.docxTatianaMajor22
 
Methodology Draft ;                                              .docx
Methodology Draft ;                                              .docxMethodology Draft ;                                              .docx
Methodology Draft ;                                              .docxTatianaMajor22
 
Part 3 Internal Environmental ScanOrganizational AssessmentT.docx
Part 3  Internal Environmental ScanOrganizational AssessmentT.docxPart 3  Internal Environmental ScanOrganizational AssessmentT.docx
Part 3 Internal Environmental ScanOrganizational AssessmentT.docxTatianaMajor22
 
Introduction to Juanita’s WorldThis continuing scenario.docx
Introduction to Juanita’s WorldThis continuing scenario.docxIntroduction to Juanita’s WorldThis continuing scenario.docx
Introduction to Juanita’s WorldThis continuing scenario.docxTatianaMajor22
 
Challenger Space Shuttle Disaster AnalysisFor this assignment, .docx
Challenger Space Shuttle Disaster AnalysisFor this assignment, .docxChallenger Space Shuttle Disaster AnalysisFor this assignment, .docx
Challenger Space Shuttle Disaster AnalysisFor this assignment, .docxTatianaMajor22
 
Date Description.docx
Date Description.docxDate Description.docx
Date Description.docxTatianaMajor22
 
Management of Modugno Corporation is considering whether to p.docx
Management of Modugno Corporation is considering whether to p.docxManagement of Modugno Corporation is considering whether to p.docx
Management of Modugno Corporation is considering whether to p.docxTatianaMajor22
 
1.Question Renault Marina exchanged a boat with a cost of $8.docx
1.Question Renault Marina exchanged a boat with a cost of $8.docx1.Question Renault Marina exchanged a boat with a cost of $8.docx
1.Question Renault Marina exchanged a boat with a cost of $8.docxTatianaMajor22
 

More from TatianaMajor22 (20)

Behavior in OrganizationsIntercultural Communications Exercise .docx
Behavior in OrganizationsIntercultural Communications Exercise .docxBehavior in OrganizationsIntercultural Communications Exercise .docx
Behavior in OrganizationsIntercultural Communications Exercise .docx
 
Discussion Question Comparison of Theories on Anxiety Disord.docx
Discussion Question Comparison of Theories on Anxiety Disord.docxDiscussion Question Comparison of Theories on Anxiety Disord.docx
Discussion Question Comparison of Theories on Anxiety Disord.docx
 
I have always liked Dustin Hoffmans style of acting, in this mov.docx
I have always liked Dustin Hoffmans style of acting, in this mov.docxI have always liked Dustin Hoffmans style of acting, in this mov.docx
I have always liked Dustin Hoffmans style of acting, in this mov.docx
 
Is obedience to the law sufficient to ensure ethical behavior Wh.docx
Is obedience to the law sufficient to ensure ethical behavior Wh.docxIs obedience to the law sufficient to ensure ethical behavior Wh.docx
Is obedience to the law sufficient to ensure ethical behavior Wh.docx
 
If you are using the Blackboard Mobile Learn IOS App, please clic.docx
If you are using the Blackboard Mobile Learn IOS App, please clic.docxIf you are using the Blackboard Mobile Learn IOS App, please clic.docx
If you are using the Blackboard Mobile Learn IOS App, please clic.docx
 
Is the proliferation of social media and communication devices a .docx
Is the proliferation of social media and communication devices a .docxIs the proliferation of social media and communication devices a .docx
Is the proliferation of social media and communication devices a .docx
 
MATH 107 FINAL EXAMINATIONMULTIPLE CHOICE1. Deter.docx
MATH 107 FINAL EXAMINATIONMULTIPLE CHOICE1. Deter.docxMATH 107 FINAL EXAMINATIONMULTIPLE CHOICE1. Deter.docx
MATH 107 FINAL EXAMINATIONMULTIPLE CHOICE1. Deter.docx
 
If the CIO is to be valued as a strategic actor, how can he bring.docx
If the CIO is to be valued as a strategic actor, how can he bring.docxIf the CIO is to be valued as a strategic actor, how can he bring.docx
If the CIO is to be valued as a strategic actor, how can he bring.docx
 
I am showing below the proof of breakeven, which is fixed costs .docx
I am showing below the proof of breakeven, which is fixed costs .docxI am showing below the proof of breakeven, which is fixed costs .docx
I am showing below the proof of breakeven, which is fixed costs .docx
 
Examine the way in which death and dying are viewed at different .docx
Examine the way in which death and dying are viewed at different .docxExamine the way in which death and dying are viewed at different .docx
Examine the way in which death and dying are viewed at different .docx
 
Karimi 1 Big Picture Blog Post ​ First Draft College .docx
Karimi 1 Big Picture Blog Post ​ First Draft College .docxKarimi 1 Big Picture Blog Post ​ First Draft College .docx
Karimi 1 Big Picture Blog Post ​ First Draft College .docx
 
Please try not to use hard words Thank youWeek 3Individual.docx
Please try not to use hard words Thank youWeek 3Individual.docxPlease try not to use hard words Thank youWeek 3Individual.docx
Please try not to use hard words Thank youWeek 3Individual.docx
 
1. Uncertainty that the party on the other side of an agreement.docx
1. Uncertainty that the party on the other side of an agreement.docx1. Uncertainty that the party on the other side of an agreement.docx
1. Uncertainty that the party on the other side of an agreement.docx
 
Methodology Draft ;                                              .docx
Methodology Draft ;                                              .docxMethodology Draft ;                                              .docx
Methodology Draft ;                                              .docx
 
Part 3 Internal Environmental ScanOrganizational AssessmentT.docx
Part 3  Internal Environmental ScanOrganizational AssessmentT.docxPart 3  Internal Environmental ScanOrganizational AssessmentT.docx
Part 3 Internal Environmental ScanOrganizational AssessmentT.docx
 
Introduction to Juanita’s WorldThis continuing scenario.docx
Introduction to Juanita’s WorldThis continuing scenario.docxIntroduction to Juanita’s WorldThis continuing scenario.docx
Introduction to Juanita’s WorldThis continuing scenario.docx
 
Challenger Space Shuttle Disaster AnalysisFor this assignment, .docx
Challenger Space Shuttle Disaster AnalysisFor this assignment, .docxChallenger Space Shuttle Disaster AnalysisFor this assignment, .docx
Challenger Space Shuttle Disaster AnalysisFor this assignment, .docx
 
Date Description.docx
Date Description.docxDate Description.docx
Date Description.docx
 
Management of Modugno Corporation is considering whether to p.docx
Management of Modugno Corporation is considering whether to p.docxManagement of Modugno Corporation is considering whether to p.docx
Management of Modugno Corporation is considering whether to p.docx
 
1.Question Renault Marina exchanged a boat with a cost of $8.docx
1.Question Renault Marina exchanged a boat with a cost of $8.docx1.Question Renault Marina exchanged a boat with a cost of $8.docx
1.Question Renault Marina exchanged a boat with a cost of $8.docx
 

0x08048d02 +0push   ebp   0x08048d03 +1mov    esp,eb.docx

  • 1. 0x08048d02 <+0>:push %ebp 0x08048d03 <+1>:mov %esp,%ebp 0x08048d05 <+3>:push %esi 0x08048d06 <+4>:push %ebx 0x08048d07 <+5>:sub $0x30,%esp 0x08048d0a <+8>:lea -0x20(%ebp),%eax 0x08048d0d <+11>:mov %eax,0x4(%esp) 0x08048d11 <+15>:mov 0x8(%ebp),%eax 0x08048d14 <+18>:mov %eax,(%esp) 0x08048d17 <+21>:call 0x804914a <read_six_numbers> 0x08048d1c <+26>:cmpl $0x0,-0x20(%ebp)//first int. 0x08048d20 <+30>:jns 0x8048d27 <phase_2+37> 0x08048d22 <+32>:call 0x8049108 <explode_bomb> 0x08048d27 <+37>:mov $0x1,%ebx//set ebx = 0x1 0x08048d2c <+42>:lea -0x20(%ebp),%esi//set esi to the address of the first element of the array 0x08048d2f <+45>:mov -0x4(%esi,%ebx,4),%eax//eax = esi + ebx * 4 0x08048d33 <+49>:sub %ebx,%eax//phase 0x08048d35 <+51>:cmp %eax,(%esi,%ebx,4) 0x08048d38 <+54>:je 0x8048d3f <phase_2+61> 0x08048d3a <+56>:call 0x8049108 <explode_bomb> 0x08048d3f <+61>:add $0x1,%ebx 0x08048d42 <+64>:cmp $0x6,%ebx 0x08048d45 <+67>:jne 0x8048d2f <phase_2+45> 0x08048d47 <+69>:add $0x30,%esp 0x08048d4a <+72>:pop %ebx 0x08048d4b <+73>:pop %esi 0x08048d4c <+74>:pop %ebp 0x08048d4d <+75>:ret