SlideShare a Scribd company logo
Write a 68000 assembly language program to move FF_16 into 50 consecutive memory bytes
starting at address $204045, and below.
Solution
MYDATA:
ds.b 8
global main
main:
MOVEI.B #0XFF00,D0
MOVEI.B #50,D1
LEA $204045,A0
loop: Â Â MOVEP.L D0,0(A0)Â Â Â Â ; FIRST TIME 204045 MEMORY HOLDS F AND
204046 HOLDS F
;NEXT TWO BYTES HOLD 0 VALUE
ADDI.W #4,A0
SUBQ.B #1,D1
BNE loop  ; LOOP FOR 50 TIMES
rts
Write a 68000 assembly language program to move FF_16 into 50 consecut.docx

More Related Content

More from richard981

Why might a small corporation organize as an S corporation- An S corpo.docx
Why might a small corporation organize as an S corporation- An S corpo.docxWhy might a small corporation organize as an S corporation- An S corpo.docx
Why might a small corporation organize as an S corporation- An S corpo.docx
richard981
 
Why might elemental bromine and iodine be more soluble in dicholormeth.docx
Why might elemental bromine and iodine be more soluble in dicholormeth.docxWhy might elemental bromine and iodine be more soluble in dicholormeth.docx
Why might elemental bromine and iodine be more soluble in dicholormeth.docx
richard981
 
Why lack of control got Comcast in trouble-Solutionthe media player is.docx
Why lack of control got Comcast in trouble-Solutionthe media player is.docxWhy lack of control got Comcast in trouble-Solutionthe media player is.docx
Why lack of control got Comcast in trouble-Solutionthe media player is.docx
richard981
 
Why might a company accept a project or investment with an NPV less th.docx
Why might a company accept a project or investment with an NPV less th.docxWhy might a company accept a project or investment with an NPV less th.docx
Why might a company accept a project or investment with an NPV less th.docx
richard981
 
Why is Pluto so small- compared to the gas giants- Pick the one best a.docx
Why is Pluto so small- compared to the gas giants- Pick the one best a.docxWhy is Pluto so small- compared to the gas giants- Pick the one best a.docx
Why is Pluto so small- compared to the gas giants- Pick the one best a.docx
richard981
 
Why is it important to use multiple performance measurements when eval.docx
Why is it important to use multiple performance measurements when eval.docxWhy is it important to use multiple performance measurements when eval.docx
Why is it important to use multiple performance measurements when eval.docx
richard981
 
Why does the absorption spectrum of as semiconductor have a sharp-stee.docx
Why does the absorption spectrum of as semiconductor have a sharp-stee.docxWhy does the absorption spectrum of as semiconductor have a sharp-stee.docx
Why does the absorption spectrum of as semiconductor have a sharp-stee.docx
richard981
 
why is it important to understand culturesSolutionIt important to unde.docx
why is it important to understand culturesSolutionIt important to unde.docxwhy is it important to understand culturesSolutionIt important to unde.docx
why is it important to understand culturesSolutionIt important to unde.docx
richard981
 
Why is goal setting important- What are three benefits- What are three.docx
Why is goal setting important- What are three benefits- What are three.docxWhy is goal setting important- What are three benefits- What are three.docx
Why is goal setting important- What are three benefits- What are three.docx
richard981
 
Why is frequency reuse of 1 possible and what is the number of users p.docx
Why is frequency reuse of 1 possible and what is the number of users p.docxWhy is frequency reuse of 1 possible and what is the number of users p.docx
Why is frequency reuse of 1 possible and what is the number of users p.docx
richard981
 
why EI can not be used in determining protein primary structures-Solut.docx
why EI can not be used in determining protein primary structures-Solut.docxwhy EI can not be used in determining protein primary structures-Solut.docx
why EI can not be used in determining protein primary structures-Solut.docx
richard981
 
Why is anion suppression necessary in ion chromatography-SolutionAnion.docx
Why is anion suppression necessary in ion chromatography-SolutionAnion.docxWhy is anion suppression necessary in ion chromatography-SolutionAnion.docx
Why is anion suppression necessary in ion chromatography-SolutionAnion.docx
richard981
 
why does an atoms electronegativity decrease down a column in the peri.docx
why does an atoms electronegativity decrease down a column in the peri.docxwhy does an atoms electronegativity decrease down a column in the peri.docx
why does an atoms electronegativity decrease down a column in the peri.docx
richard981
 
Why does iodine have a much lower melting point than sodium iodide- W.docx
Why does iodine have a much lower melting point than sodium iodide-  W.docxWhy does iodine have a much lower melting point than sodium iodide-  W.docx
Why does iodine have a much lower melting point than sodium iodide- W.docx
richard981
 
Why do soluble impurities lower Tf of a solvent- Will insoluble impuri.docx
Why do soluble impurities lower Tf of a solvent- Will insoluble impuri.docxWhy do soluble impurities lower Tf of a solvent- Will insoluble impuri.docx
Why do soluble impurities lower Tf of a solvent- Will insoluble impuri.docx
richard981
 
Why does this kind of error happen- It is something about makefile- an.docx
Why does this kind of error happen- It is something about makefile- an.docxWhy does this kind of error happen- It is something about makefile- an.docx
Why does this kind of error happen- It is something about makefile- an.docx
richard981
 
Why do you think today-'s computer systems are so vulnerable-Solutiono.docx
Why do you think today-'s computer systems are so vulnerable-Solutiono.docxWhy do you think today-'s computer systems are so vulnerable-Solutiono.docx
Why do you think today-'s computer systems are so vulnerable-Solutiono.docx
richard981
 
Why does one firm in the same industry have a high ROE- one firm has a.docx
Why does one firm in the same industry have a high ROE- one firm has a.docxWhy does one firm in the same industry have a high ROE- one firm has a.docx
Why does one firm in the same industry have a high ROE- one firm has a.docx
richard981
 
Why do you think Starbucks has been so concerned with social responsib.docx
Why do you think Starbucks has been so concerned with social responsib.docxWhy do you think Starbucks has been so concerned with social responsib.docx
Why do you think Starbucks has been so concerned with social responsib.docx
richard981
 
Why do high levels of accruals appear to be mispriced-SolutionRichards.docx
Why do high levels of accruals appear to be mispriced-SolutionRichards.docxWhy do high levels of accruals appear to be mispriced-SolutionRichards.docx
Why do high levels of accruals appear to be mispriced-SolutionRichards.docx
richard981
 

More from richard981 (20)

Why might a small corporation organize as an S corporation- An S corpo.docx
Why might a small corporation organize as an S corporation- An S corpo.docxWhy might a small corporation organize as an S corporation- An S corpo.docx
Why might a small corporation organize as an S corporation- An S corpo.docx
 
Why might elemental bromine and iodine be more soluble in dicholormeth.docx
Why might elemental bromine and iodine be more soluble in dicholormeth.docxWhy might elemental bromine and iodine be more soluble in dicholormeth.docx
Why might elemental bromine and iodine be more soluble in dicholormeth.docx
 
Why lack of control got Comcast in trouble-Solutionthe media player is.docx
Why lack of control got Comcast in trouble-Solutionthe media player is.docxWhy lack of control got Comcast in trouble-Solutionthe media player is.docx
Why lack of control got Comcast in trouble-Solutionthe media player is.docx
 
Why might a company accept a project or investment with an NPV less th.docx
Why might a company accept a project or investment with an NPV less th.docxWhy might a company accept a project or investment with an NPV less th.docx
Why might a company accept a project or investment with an NPV less th.docx
 
Why is Pluto so small- compared to the gas giants- Pick the one best a.docx
Why is Pluto so small- compared to the gas giants- Pick the one best a.docxWhy is Pluto so small- compared to the gas giants- Pick the one best a.docx
Why is Pluto so small- compared to the gas giants- Pick the one best a.docx
 
Why is it important to use multiple performance measurements when eval.docx
Why is it important to use multiple performance measurements when eval.docxWhy is it important to use multiple performance measurements when eval.docx
Why is it important to use multiple performance measurements when eval.docx
 
Why does the absorption spectrum of as semiconductor have a sharp-stee.docx
Why does the absorption spectrum of as semiconductor have a sharp-stee.docxWhy does the absorption spectrum of as semiconductor have a sharp-stee.docx
Why does the absorption spectrum of as semiconductor have a sharp-stee.docx
 
why is it important to understand culturesSolutionIt important to unde.docx
why is it important to understand culturesSolutionIt important to unde.docxwhy is it important to understand culturesSolutionIt important to unde.docx
why is it important to understand culturesSolutionIt important to unde.docx
 
Why is goal setting important- What are three benefits- What are three.docx
Why is goal setting important- What are three benefits- What are three.docxWhy is goal setting important- What are three benefits- What are three.docx
Why is goal setting important- What are three benefits- What are three.docx
 
Why is frequency reuse of 1 possible and what is the number of users p.docx
Why is frequency reuse of 1 possible and what is the number of users p.docxWhy is frequency reuse of 1 possible and what is the number of users p.docx
Why is frequency reuse of 1 possible and what is the number of users p.docx
 
why EI can not be used in determining protein primary structures-Solut.docx
why EI can not be used in determining protein primary structures-Solut.docxwhy EI can not be used in determining protein primary structures-Solut.docx
why EI can not be used in determining protein primary structures-Solut.docx
 
Why is anion suppression necessary in ion chromatography-SolutionAnion.docx
Why is anion suppression necessary in ion chromatography-SolutionAnion.docxWhy is anion suppression necessary in ion chromatography-SolutionAnion.docx
Why is anion suppression necessary in ion chromatography-SolutionAnion.docx
 
why does an atoms electronegativity decrease down a column in the peri.docx
why does an atoms electronegativity decrease down a column in the peri.docxwhy does an atoms electronegativity decrease down a column in the peri.docx
why does an atoms electronegativity decrease down a column in the peri.docx
 
Why does iodine have a much lower melting point than sodium iodide- W.docx
Why does iodine have a much lower melting point than sodium iodide-  W.docxWhy does iodine have a much lower melting point than sodium iodide-  W.docx
Why does iodine have a much lower melting point than sodium iodide- W.docx
 
Why do soluble impurities lower Tf of a solvent- Will insoluble impuri.docx
Why do soluble impurities lower Tf of a solvent- Will insoluble impuri.docxWhy do soluble impurities lower Tf of a solvent- Will insoluble impuri.docx
Why do soluble impurities lower Tf of a solvent- Will insoluble impuri.docx
 
Why does this kind of error happen- It is something about makefile- an.docx
Why does this kind of error happen- It is something about makefile- an.docxWhy does this kind of error happen- It is something about makefile- an.docx
Why does this kind of error happen- It is something about makefile- an.docx
 
Why do you think today-'s computer systems are so vulnerable-Solutiono.docx
Why do you think today-'s computer systems are so vulnerable-Solutiono.docxWhy do you think today-'s computer systems are so vulnerable-Solutiono.docx
Why do you think today-'s computer systems are so vulnerable-Solutiono.docx
 
Why does one firm in the same industry have a high ROE- one firm has a.docx
Why does one firm in the same industry have a high ROE- one firm has a.docxWhy does one firm in the same industry have a high ROE- one firm has a.docx
Why does one firm in the same industry have a high ROE- one firm has a.docx
 
Why do you think Starbucks has been so concerned with social responsib.docx
Why do you think Starbucks has been so concerned with social responsib.docxWhy do you think Starbucks has been so concerned with social responsib.docx
Why do you think Starbucks has been so concerned with social responsib.docx
 
Why do high levels of accruals appear to be mispriced-SolutionRichards.docx
Why do high levels of accruals appear to be mispriced-SolutionRichards.docxWhy do high levels of accruals appear to be mispriced-SolutionRichards.docx
Why do high levels of accruals appear to be mispriced-SolutionRichards.docx
 

Recently uploaded

How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
kitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptxkitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptx
datarid22
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
christianmathematics
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Fresher’s Quiz 2023 at GMC Nizamabad.pptx
Fresher’s Quiz 2023 at GMC Nizamabad.pptxFresher’s Quiz 2023 at GMC Nizamabad.pptx
Fresher’s Quiz 2023 at GMC Nizamabad.pptx
SriSurya50
 

Recently uploaded (20)

How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
kitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptxkitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Fresher’s Quiz 2023 at GMC Nizamabad.pptx
Fresher’s Quiz 2023 at GMC Nizamabad.pptxFresher’s Quiz 2023 at GMC Nizamabad.pptx
Fresher’s Quiz 2023 at GMC Nizamabad.pptx
 

Write a 68000 assembly language program to move FF_16 into 50 consecut.docx

  • 1. Write a 68000 assembly language program to move FF_16 into 50 consecutive memory bytes starting at address $204045, and below. Solution MYDATA: ds.b 8 global main main: MOVEI.B #0XFF00,D0 MOVEI.B #50,D1 LEA $204045,A0 loop:   MOVEP.L D0,0(A0)    ; FIRST TIME 204045 MEMORY HOLDS F AND 204046 HOLDS F ;NEXT TWO BYTES HOLD 0 VALUE ADDI.W #4,A0 SUBQ.B #1,D1 BNE loop  ; LOOP FOR 50 TIMES rts