SlideShare a Scribd company logo
1 of 1
Download to read offline
4004f2:jmp4004f9<foo+0xc>4004f4:add%edi,%eax4004f6:sub$01,%edi4004f9:cmp%esi,%edi
4004fb:jg4004f4<foo+0x7>4004fd:repzretq Based on the assembly code above, fill in the input
boxes at the bottom with your answer to each blank in the corresponding C source code below.
(Note: the number in parentheses before each blank is its corresponding input box number; you
may only use the symbolic variables x,y,i, and result in your expressions below - do not use
register names.) int foo(int x, int y ) { int i; int result = for (i=_; _______ ){ result = } return result; } A
A A A) A

More Related Content

More from activecomputers

4 Your package A What are the most interesting things you.pdf
4 Your package A What are the most interesting things you.pdf4 Your package A What are the most interesting things you.pdf
4 Your package A What are the most interesting things you.pdfactivecomputers
 
43 4 marks Suppose that the friends you made on an intern.pdf
43 4 marks Suppose that the friends you made on an intern.pdf43 4 marks Suppose that the friends you made on an intern.pdf
43 4 marks Suppose that the friends you made on an intern.pdfactivecomputers
 
413 Let the joint pmf of X and Y be defined by fxy32x.pdf
413 Let the joint pmf of X and Y be defined by fxy32x.pdf413 Let the joint pmf of X and Y be defined by fxy32x.pdf
413 Let the joint pmf of X and Y be defined by fxy32x.pdfactivecomputers
 
4+1 Examine the following feature in the landscape4.pdf
4+1  Examine the following feature in the landscape4.pdf4+1  Examine the following feature in the landscape4.pdf
4+1 Examine the following feature in the landscape4.pdfactivecomputers
 
40 A 42yearold man is bitten on his posterior thigh by a .pdf
40 A 42yearold man is bitten on his posterior thigh by a .pdf40 A 42yearold man is bitten on his posterior thigh by a .pdf
40 A 42yearold man is bitten on his posterior thigh by a .pdfactivecomputers
 
45 Understand what cytogenetics refers to and how cytogenet.pdf
45 Understand what cytogenetics refers to and how cytogenet.pdf45 Understand what cytogenetics refers to and how cytogenet.pdf
45 Understand what cytogenetics refers to and how cytogenet.pdfactivecomputers
 
5 How many zeros does the function fxx15x3 have What are.pdf
5 How many zeros does the function fxx15x3 have What are.pdf5 How many zeros does the function fxx15x3 have What are.pdf
5 How many zeros does the function fxx15x3 have What are.pdfactivecomputers
 
5 General Equilibrium 2 20 points The utility for consum.pdf
5 General Equilibrium 2  20 points The utility for consum.pdf5 General Equilibrium 2  20 points The utility for consum.pdf
5 General Equilibrium 2 20 points The utility for consum.pdfactivecomputers
 
46 Find the sampling distributions of Y1 and Yn for random .pdf
46 Find the sampling distributions of Y1 and Yn for random .pdf46 Find the sampling distributions of Y1 and Yn for random .pdf
46 Find the sampling distributions of Y1 and Yn for random .pdfactivecomputers
 
46 In the open ocean tsunami waves are difficult to detec.pdf
46  In the open ocean tsunami waves are difficult to detec.pdf46  In the open ocean tsunami waves are difficult to detec.pdf
46 In the open ocean tsunami waves are difficult to detec.pdfactivecomputers
 
5 Identify the four possible gametes produced by the follow.pdf
5 Identify the four possible gametes produced by the follow.pdf5 Identify the four possible gametes produced by the follow.pdf
5 Identify the four possible gametes produced by the follow.pdfactivecomputers
 
45 Please explain in steps so I may be able to follow and l.pdf
45 Please explain in steps so I may be able to follow and l.pdf45 Please explain in steps so I may be able to follow and l.pdf
45 Please explain in steps so I may be able to follow and l.pdfactivecomputers
 
5 From Chapter 5 Binomial and Poisson Discrete Probability.pdf
5 From Chapter 5 Binomial and Poisson Discrete Probability.pdf5 From Chapter 5 Binomial and Poisson Discrete Probability.pdf
5 From Chapter 5 Binomial and Poisson Discrete Probability.pdfactivecomputers
 
40 A patient was admitted to the hospital with chronic obst.pdf
40 A patient was admitted to the hospital with chronic obst.pdf40 A patient was admitted to the hospital with chronic obst.pdf
40 A patient was admitted to the hospital with chronic obst.pdfactivecomputers
 
5 General Equilibrium 2 20 points The utility for consume.pdf
5 General Equilibrium 2 20 points The utility for consume.pdf5 General Equilibrium 2 20 points The utility for consume.pdf
5 General Equilibrium 2 20 points The utility for consume.pdfactivecomputers
 
4 XOR operation and Stream Cipher 1 Suppose that you have.pdf
4 XOR operation and Stream Cipher 1 Suppose that you have.pdf4 XOR operation and Stream Cipher 1 Suppose that you have.pdf
4 XOR operation and Stream Cipher 1 Suppose that you have.pdfactivecomputers
 
5 F the distribution function of a random variable X is g.pdf
5 F the distribution function of a random variable X is g.pdf5 F the distribution function of a random variable X is g.pdf
5 F the distribution function of a random variable X is g.pdfactivecomputers
 
5 During 2017 some Fed officials were concerned about pote.pdf
5 During 2017 some Fed officials were concerned about pote.pdf5 During 2017 some Fed officials were concerned about pote.pdf
5 During 2017 some Fed officials were concerned about pote.pdfactivecomputers
 
5 Define the following almost Fibonacci recurrence Gn01G.pdf
5 Define the following almost Fibonacci recurrence Gn01G.pdf5 Define the following almost Fibonacci recurrence Gn01G.pdf
5 Define the following almost Fibonacci recurrence Gn01G.pdfactivecomputers
 
5 Doreen has a utility function Uxy2x+3y The price of .pdf
5 Doreen has a utility function Uxy2x+3y The price of .pdf5 Doreen has a utility function Uxy2x+3y The price of .pdf
5 Doreen has a utility function Uxy2x+3y The price of .pdfactivecomputers
 

More from activecomputers (20)

4 Your package A What are the most interesting things you.pdf
4 Your package A What are the most interesting things you.pdf4 Your package A What are the most interesting things you.pdf
4 Your package A What are the most interesting things you.pdf
 
43 4 marks Suppose that the friends you made on an intern.pdf
43 4 marks Suppose that the friends you made on an intern.pdf43 4 marks Suppose that the friends you made on an intern.pdf
43 4 marks Suppose that the friends you made on an intern.pdf
 
413 Let the joint pmf of X and Y be defined by fxy32x.pdf
413 Let the joint pmf of X and Y be defined by fxy32x.pdf413 Let the joint pmf of X and Y be defined by fxy32x.pdf
413 Let the joint pmf of X and Y be defined by fxy32x.pdf
 
4+1 Examine the following feature in the landscape4.pdf
4+1  Examine the following feature in the landscape4.pdf4+1  Examine the following feature in the landscape4.pdf
4+1 Examine the following feature in the landscape4.pdf
 
40 A 42yearold man is bitten on his posterior thigh by a .pdf
40 A 42yearold man is bitten on his posterior thigh by a .pdf40 A 42yearold man is bitten on his posterior thigh by a .pdf
40 A 42yearold man is bitten on his posterior thigh by a .pdf
 
45 Understand what cytogenetics refers to and how cytogenet.pdf
45 Understand what cytogenetics refers to and how cytogenet.pdf45 Understand what cytogenetics refers to and how cytogenet.pdf
45 Understand what cytogenetics refers to and how cytogenet.pdf
 
5 How many zeros does the function fxx15x3 have What are.pdf
5 How many zeros does the function fxx15x3 have What are.pdf5 How many zeros does the function fxx15x3 have What are.pdf
5 How many zeros does the function fxx15x3 have What are.pdf
 
5 General Equilibrium 2 20 points The utility for consum.pdf
5 General Equilibrium 2  20 points The utility for consum.pdf5 General Equilibrium 2  20 points The utility for consum.pdf
5 General Equilibrium 2 20 points The utility for consum.pdf
 
46 Find the sampling distributions of Y1 and Yn for random .pdf
46 Find the sampling distributions of Y1 and Yn for random .pdf46 Find the sampling distributions of Y1 and Yn for random .pdf
46 Find the sampling distributions of Y1 and Yn for random .pdf
 
46 In the open ocean tsunami waves are difficult to detec.pdf
46  In the open ocean tsunami waves are difficult to detec.pdf46  In the open ocean tsunami waves are difficult to detec.pdf
46 In the open ocean tsunami waves are difficult to detec.pdf
 
5 Identify the four possible gametes produced by the follow.pdf
5 Identify the four possible gametes produced by the follow.pdf5 Identify the four possible gametes produced by the follow.pdf
5 Identify the four possible gametes produced by the follow.pdf
 
45 Please explain in steps so I may be able to follow and l.pdf
45 Please explain in steps so I may be able to follow and l.pdf45 Please explain in steps so I may be able to follow and l.pdf
45 Please explain in steps so I may be able to follow and l.pdf
 
5 From Chapter 5 Binomial and Poisson Discrete Probability.pdf
5 From Chapter 5 Binomial and Poisson Discrete Probability.pdf5 From Chapter 5 Binomial and Poisson Discrete Probability.pdf
5 From Chapter 5 Binomial and Poisson Discrete Probability.pdf
 
40 A patient was admitted to the hospital with chronic obst.pdf
40 A patient was admitted to the hospital with chronic obst.pdf40 A patient was admitted to the hospital with chronic obst.pdf
40 A patient was admitted to the hospital with chronic obst.pdf
 
5 General Equilibrium 2 20 points The utility for consume.pdf
5 General Equilibrium 2 20 points The utility for consume.pdf5 General Equilibrium 2 20 points The utility for consume.pdf
5 General Equilibrium 2 20 points The utility for consume.pdf
 
4 XOR operation and Stream Cipher 1 Suppose that you have.pdf
4 XOR operation and Stream Cipher 1 Suppose that you have.pdf4 XOR operation and Stream Cipher 1 Suppose that you have.pdf
4 XOR operation and Stream Cipher 1 Suppose that you have.pdf
 
5 F the distribution function of a random variable X is g.pdf
5 F the distribution function of a random variable X is g.pdf5 F the distribution function of a random variable X is g.pdf
5 F the distribution function of a random variable X is g.pdf
 
5 During 2017 some Fed officials were concerned about pote.pdf
5 During 2017 some Fed officials were concerned about pote.pdf5 During 2017 some Fed officials were concerned about pote.pdf
5 During 2017 some Fed officials were concerned about pote.pdf
 
5 Define the following almost Fibonacci recurrence Gn01G.pdf
5 Define the following almost Fibonacci recurrence Gn01G.pdf5 Define the following almost Fibonacci recurrence Gn01G.pdf
5 Define the following almost Fibonacci recurrence Gn01G.pdf
 
5 Doreen has a utility function Uxy2x+3y The price of .pdf
5 Doreen has a utility function Uxy2x+3y The price of .pdf5 Doreen has a utility function Uxy2x+3y The price of .pdf
5 Doreen has a utility function Uxy2x+3y The price of .pdf
 

Recently uploaded

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 

Recently uploaded (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 

Analyze Assembly Code