SlideShare a Scribd company logo
1 of 1
Download to read offline
Data x: word 23 y: word -3 Write assembly code for the following pseudo code and draw flow
chard (for both Q1 and Q2): if (x
Solution
Answer:
Assembly Language Code :
1)
.zero 1
main:
push rbp
mov rbp, rsp
cmp DWORD PTR [rbp-4], 4
jg .L2
add DWORD PTR [rbp-8], 1
2)
.zero 1
main:
push rbp
mov rbp, rsp
mov DWORD PTR [rbp-4], 1
mov eax, 1
test al, al
je .L2
mov DWORD PTR [rbp-8], 0

More Related Content

More from arpitaeron555

For each of the given functions, list the domain and range. Also list.pdf
For each of the given functions, list the domain and range. Also list.pdfFor each of the given functions, list the domain and range. Also list.pdf
For each of the given functions, list the domain and range. Also list.pdfarpitaeron555
 
Given to girls born in the U.S. in the years The tables below give t.pdf
Given to girls born in the U.S. in the years  The tables below give t.pdfGiven to girls born in the U.S. in the years  The tables below give t.pdf
Given to girls born in the U.S. in the years The tables below give t.pdfarpitaeron555
 
How do open source projects work How is it different from closed sou.pdf
How do open source projects work How is it different from closed sou.pdfHow do open source projects work How is it different from closed sou.pdf
How do open source projects work How is it different from closed sou.pdfarpitaeron555
 
Ferdinand is affected by hemophilia, a recessive x-linked condition..pdf
Ferdinand is affected by hemophilia, a recessive x-linked condition..pdfFerdinand is affected by hemophilia, a recessive x-linked condition..pdf
Ferdinand is affected by hemophilia, a recessive x-linked condition..pdfarpitaeron555
 
Explain whether you think IFRS and GAAP will be fully converged. Wha.pdf
Explain whether you think IFRS and GAAP will be fully converged. Wha.pdfExplain whether you think IFRS and GAAP will be fully converged. Wha.pdf
Explain whether you think IFRS and GAAP will be fully converged. Wha.pdfarpitaeron555
 
Does the following picture depict a function It so, is it a one to o.pdf
Does the following picture depict a function It so, is it a one to o.pdfDoes the following picture depict a function It so, is it a one to o.pdf
Does the following picture depict a function It so, is it a one to o.pdfarpitaeron555
 
Do patients have health care rights that are not legal or statuatory.pdf
Do patients have health care rights that are not legal or statuatory.pdfDo patients have health care rights that are not legal or statuatory.pdf
Do patients have health care rights that are not legal or statuatory.pdfarpitaeron555
 
Describe the authentication process in the figure below Solutio.pdf
Describe the authentication process in the figure below  Solutio.pdfDescribe the authentication process in the figure below  Solutio.pdf
Describe the authentication process in the figure below Solutio.pdfarpitaeron555
 
Discuss the history of bureaucratic and administrative management..pdf
Discuss the history of bureaucratic and administrative management..pdfDiscuss the history of bureaucratic and administrative management..pdf
Discuss the history of bureaucratic and administrative management..pdfarpitaeron555
 
Describe or explain how SNPs in genes at evolutionary conserved brea.pdf
Describe or explain how SNPs in genes at evolutionary conserved brea.pdfDescribe or explain how SNPs in genes at evolutionary conserved brea.pdf
Describe or explain how SNPs in genes at evolutionary conserved brea.pdfarpitaeron555
 
Can Variance Inflation factors be used to detect Heteroscedasticity .pdf
Can Variance Inflation factors be used to detect Heteroscedasticity .pdfCan Variance Inflation factors be used to detect Heteroscedasticity .pdf
Can Variance Inflation factors be used to detect Heteroscedasticity .pdfarpitaeron555
 
A study undertaken by the Miami-Dade Supervisor of Elections in 2002.pdf
A study undertaken by the Miami-Dade Supervisor of Elections in 2002.pdfA study undertaken by the Miami-Dade Supervisor of Elections in 2002.pdf
A study undertaken by the Miami-Dade Supervisor of Elections in 2002.pdfarpitaeron555
 
Among the developing Ceratopteris gametophytes, what proportion o.pdf
Among the developing Ceratopteris gametophytes, what proportion o.pdfAmong the developing Ceratopteris gametophytes, what proportion o.pdf
Among the developing Ceratopteris gametophytes, what proportion o.pdfarpitaeron555
 
Answer questions 11-15 with a short paragraph of 5-9 lines.11.Publ.pdf
Answer questions 11-15 with a short paragraph of 5-9 lines.11.Publ.pdfAnswer questions 11-15 with a short paragraph of 5-9 lines.11.Publ.pdf
Answer questions 11-15 with a short paragraph of 5-9 lines.11.Publ.pdfarpitaeron555
 
A conductor of length l lies along the x axis with current I in the +.pdf
A conductor of length l lies along the x axis with current I in the +.pdfA conductor of length l lies along the x axis with current I in the +.pdf
A conductor of length l lies along the x axis with current I in the +.pdfarpitaeron555
 
35. What would be a strong suggestion of convergent evolution from m.pdf
35. What would be a strong suggestion of convergent evolution from m.pdf35. What would be a strong suggestion of convergent evolution from m.pdf
35. What would be a strong suggestion of convergent evolution from m.pdfarpitaeron555
 
1. (with APA reference )Describe in detail the roles that the follow.pdf
1. (with APA reference )Describe in detail the roles that the follow.pdf1. (with APA reference )Describe in detail the roles that the follow.pdf
1. (with APA reference )Describe in detail the roles that the follow.pdfarpitaeron555
 
Why is the answer E. coli B Benders Experiments Mutations rll1 an.pdf
Why is the answer E. coli B Benders Experiments Mutations rll1 an.pdfWhy is the answer E. coli B Benders Experiments Mutations rll1 an.pdf
Why is the answer E. coli B Benders Experiments Mutations rll1 an.pdfarpitaeron555
 
Which of the following is a valid form of attack against ARPA. Fl.pdf
Which of the following is a valid form of attack against ARPA. Fl.pdfWhich of the following is a valid form of attack against ARPA. Fl.pdf
Which of the following is a valid form of attack against ARPA. Fl.pdfarpitaeron555
 
What is the best way to test if males and females differ in their pr.pdf
What is the best way to test if males and females differ in their pr.pdfWhat is the best way to test if males and females differ in their pr.pdf
What is the best way to test if males and females differ in their pr.pdfarpitaeron555
 

More from arpitaeron555 (20)

For each of the given functions, list the domain and range. Also list.pdf
For each of the given functions, list the domain and range. Also list.pdfFor each of the given functions, list the domain and range. Also list.pdf
For each of the given functions, list the domain and range. Also list.pdf
 
Given to girls born in the U.S. in the years The tables below give t.pdf
Given to girls born in the U.S. in the years  The tables below give t.pdfGiven to girls born in the U.S. in the years  The tables below give t.pdf
Given to girls born in the U.S. in the years The tables below give t.pdf
 
How do open source projects work How is it different from closed sou.pdf
How do open source projects work How is it different from closed sou.pdfHow do open source projects work How is it different from closed sou.pdf
How do open source projects work How is it different from closed sou.pdf
 
Ferdinand is affected by hemophilia, a recessive x-linked condition..pdf
Ferdinand is affected by hemophilia, a recessive x-linked condition..pdfFerdinand is affected by hemophilia, a recessive x-linked condition..pdf
Ferdinand is affected by hemophilia, a recessive x-linked condition..pdf
 
Explain whether you think IFRS and GAAP will be fully converged. Wha.pdf
Explain whether you think IFRS and GAAP will be fully converged. Wha.pdfExplain whether you think IFRS and GAAP will be fully converged. Wha.pdf
Explain whether you think IFRS and GAAP will be fully converged. Wha.pdf
 
Does the following picture depict a function It so, is it a one to o.pdf
Does the following picture depict a function It so, is it a one to o.pdfDoes the following picture depict a function It so, is it a one to o.pdf
Does the following picture depict a function It so, is it a one to o.pdf
 
Do patients have health care rights that are not legal or statuatory.pdf
Do patients have health care rights that are not legal or statuatory.pdfDo patients have health care rights that are not legal or statuatory.pdf
Do patients have health care rights that are not legal or statuatory.pdf
 
Describe the authentication process in the figure below Solutio.pdf
Describe the authentication process in the figure below  Solutio.pdfDescribe the authentication process in the figure below  Solutio.pdf
Describe the authentication process in the figure below Solutio.pdf
 
Discuss the history of bureaucratic and administrative management..pdf
Discuss the history of bureaucratic and administrative management..pdfDiscuss the history of bureaucratic and administrative management..pdf
Discuss the history of bureaucratic and administrative management..pdf
 
Describe or explain how SNPs in genes at evolutionary conserved brea.pdf
Describe or explain how SNPs in genes at evolutionary conserved brea.pdfDescribe or explain how SNPs in genes at evolutionary conserved brea.pdf
Describe or explain how SNPs in genes at evolutionary conserved brea.pdf
 
Can Variance Inflation factors be used to detect Heteroscedasticity .pdf
Can Variance Inflation factors be used to detect Heteroscedasticity .pdfCan Variance Inflation factors be used to detect Heteroscedasticity .pdf
Can Variance Inflation factors be used to detect Heteroscedasticity .pdf
 
A study undertaken by the Miami-Dade Supervisor of Elections in 2002.pdf
A study undertaken by the Miami-Dade Supervisor of Elections in 2002.pdfA study undertaken by the Miami-Dade Supervisor of Elections in 2002.pdf
A study undertaken by the Miami-Dade Supervisor of Elections in 2002.pdf
 
Among the developing Ceratopteris gametophytes, what proportion o.pdf
Among the developing Ceratopteris gametophytes, what proportion o.pdfAmong the developing Ceratopteris gametophytes, what proportion o.pdf
Among the developing Ceratopteris gametophytes, what proportion o.pdf
 
Answer questions 11-15 with a short paragraph of 5-9 lines.11.Publ.pdf
Answer questions 11-15 with a short paragraph of 5-9 lines.11.Publ.pdfAnswer questions 11-15 with a short paragraph of 5-9 lines.11.Publ.pdf
Answer questions 11-15 with a short paragraph of 5-9 lines.11.Publ.pdf
 
A conductor of length l lies along the x axis with current I in the +.pdf
A conductor of length l lies along the x axis with current I in the +.pdfA conductor of length l lies along the x axis with current I in the +.pdf
A conductor of length l lies along the x axis with current I in the +.pdf
 
35. What would be a strong suggestion of convergent evolution from m.pdf
35. What would be a strong suggestion of convergent evolution from m.pdf35. What would be a strong suggestion of convergent evolution from m.pdf
35. What would be a strong suggestion of convergent evolution from m.pdf
 
1. (with APA reference )Describe in detail the roles that the follow.pdf
1. (with APA reference )Describe in detail the roles that the follow.pdf1. (with APA reference )Describe in detail the roles that the follow.pdf
1. (with APA reference )Describe in detail the roles that the follow.pdf
 
Why is the answer E. coli B Benders Experiments Mutations rll1 an.pdf
Why is the answer E. coli B Benders Experiments Mutations rll1 an.pdfWhy is the answer E. coli B Benders Experiments Mutations rll1 an.pdf
Why is the answer E. coli B Benders Experiments Mutations rll1 an.pdf
 
Which of the following is a valid form of attack against ARPA. Fl.pdf
Which of the following is a valid form of attack against ARPA. Fl.pdfWhich of the following is a valid form of attack against ARPA. Fl.pdf
Which of the following is a valid form of attack against ARPA. Fl.pdf
 
What is the best way to test if males and females differ in their pr.pdf
What is the best way to test if males and females differ in their pr.pdfWhat is the best way to test if males and females differ in their pr.pdf
What is the best way to test if males and females differ in their pr.pdf
 

Recently uploaded

Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...EduSkills OECD
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Celine George
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Orientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfOrientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfElizabeth Walsh
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use CasesTechSoup
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of PlayPooky Knightsmith
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 

Recently uploaded (20)

Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Orientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfOrientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdf
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of Play
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 

Data x word 23 y word -3 Write assembly code for the following p.pdf

  • 1. Data x: word 23 y: word -3 Write assembly code for the following pseudo code and draw flow chard (for both Q1 and Q2): if (x Solution Answer: Assembly Language Code : 1) .zero 1 main: push rbp mov rbp, rsp cmp DWORD PTR [rbp-4], 4 jg .L2 add DWORD PTR [rbp-8], 1 2) .zero 1 main: push rbp mov rbp, rsp mov DWORD PTR [rbp-4], 1 mov eax, 1 test al, al je .L2 mov DWORD PTR [rbp-8], 0