SlideShare a Scribd company logo
1 of 1
Download to read offline
Code must be in assembly language (10 points) 1. Write a program using indexed-ROM
addressing mode, where your lookup table will be in program memory, i.e., ROM.
Assume that the lower three bits of PORTC are connected to three switches. Write a program to
send the following ASCII characters to PORTB based on the status of the switches in PIC18
microcontroller.

More Related Content

More from akpatra2000

class Internet systems (html) Create a picture album with the foll.pdf
class Internet systems (html)  Create a picture album with the foll.pdfclass Internet systems (html)  Create a picture album with the foll.pdf
class Internet systems (html) Create a picture album with the foll.pdfakpatra2000
 
Clasificar acumulaciones y aplazamientos Clasifique las siguientes.pdf
Clasificar acumulaciones y aplazamientos Clasifique las siguientes.pdfClasificar acumulaciones y aplazamientos Clasifique las siguientes.pdf
Clasificar acumulaciones y aplazamientos Clasifique las siguientes.pdfakpatra2000
 
Class Speaker Data Members db (float) 1. Write a function definiti.pdf
Class Speaker Data Members db (float) 1. Write a function definiti.pdfClass Speaker Data Members db (float) 1. Write a function definiti.pdf
Class Speaker Data Members db (float) 1. Write a function definiti.pdfakpatra2000
 
Cinco individuos de una poblaci�n animal que se cree que est� al bor.pdf
Cinco individuos de una poblaci�n animal que se cree que est� al bor.pdfCinco individuos de una poblaci�n animal que se cree que est� al bor.pdf
Cinco individuos de una poblaci�n animal que se cree que est� al bor.pdfakpatra2000
 
Cisco Systems Evoluci�n de la estructura La evoluci�n de Cisco desd.pdf
Cisco Systems Evoluci�n de la estructura La evoluci�n de Cisco desd.pdfCisco Systems Evoluci�n de la estructura La evoluci�n de Cisco desd.pdf
Cisco Systems Evoluci�n de la estructura La evoluci�n de Cisco desd.pdfakpatra2000
 
Cinco pasos. Elija una de las tres formas discutidas para cultivar l.pdf
Cinco pasos. Elija una de las tres formas discutidas para cultivar l.pdfCinco pasos. Elija una de las tres formas discutidas para cultivar l.pdf
Cinco pasos. Elija una de las tres formas discutidas para cultivar l.pdfakpatra2000
 
Christine, bir �retim tesisi inaat projesinin proje y�neticisidir. C.pdf
Christine, bir �retim tesisi inaat projesinin proje y�neticisidir. C.pdfChristine, bir �retim tesisi inaat projesinin proje y�neticisidir. C.pdf
Christine, bir �retim tesisi inaat projesinin proje y�neticisidir. C.pdfakpatra2000
 
Choosematch which one- Long dated options- Allow investors to .pdf
Choosematch which one- Long dated options- Allow investors to .pdfChoosematch which one- Long dated options- Allow investors to .pdf
Choosematch which one- Long dated options- Allow investors to .pdfakpatra2000
 
cemexLa estrategia de crecimiento de CEMEX fue impulsada por adqui.pdf
cemexLa estrategia de crecimiento de CEMEX fue impulsada por adqui.pdfcemexLa estrategia de crecimiento de CEMEX fue impulsada por adqui.pdf
cemexLa estrategia de crecimiento de CEMEX fue impulsada por adqui.pdfakpatra2000
 
ccording to the U.S. Census, 67.5 of the U.S. population were born .pdf
ccording to the U.S. Census, 67.5 of the U.S. population were born .pdfccording to the U.S. Census, 67.5 of the U.S. population were born .pdf
ccording to the U.S. Census, 67.5 of the U.S. population were born .pdfakpatra2000
 
Cheatham and Dunlay are involved in a partnership dispute that prese.pdf
Cheatham and Dunlay are involved in a partnership dispute that prese.pdfCheatham and Dunlay are involved in a partnership dispute that prese.pdf
Cheatham and Dunlay are involved in a partnership dispute that prese.pdfakpatra2000
 
Charles Lyell, a geologist and friend of Charles Darwin, influenced .pdf
Charles Lyell, a geologist and friend of Charles Darwin, influenced .pdfCharles Lyell, a geologist and friend of Charles Darwin, influenced .pdf
Charles Lyell, a geologist and friend of Charles Darwin, influenced .pdfakpatra2000
 
Can someone please help with the ones in RED Cullumber, Inc. had th.pdf
Can someone please help with the ones in RED Cullumber, Inc. had th.pdfCan someone please help with the ones in RED Cullumber, Inc. had th.pdf
Can someone please help with the ones in RED Cullumber, Inc. had th.pdfakpatra2000
 
Chapter 4 begins with informing us on the complexities and reasons a.pdf
Chapter 4 begins with informing us on the complexities and reasons a.pdfChapter 4 begins with informing us on the complexities and reasons a.pdf
Chapter 4 begins with informing us on the complexities and reasons a.pdfakpatra2000
 
Cerebral blood flow (CBF) in the brains of healthy people is normall.pdf
Cerebral blood flow (CBF) in the brains of healthy people is normall.pdfCerebral blood flow (CBF) in the brains of healthy people is normall.pdf
Cerebral blood flow (CBF) in the brains of healthy people is normall.pdfakpatra2000
 
Chandimal Ltd paid a consideration of $650000 on 1.1.20X5 to acquire.pdf
Chandimal Ltd paid a consideration of $650000 on 1.1.20X5 to acquire.pdfChandimal Ltd paid a consideration of $650000 on 1.1.20X5 to acquire.pdf
Chandimal Ltd paid a consideration of $650000 on 1.1.20X5 to acquire.pdfakpatra2000
 
CERN, y�ksek enerji fizii aratrmalar i�in par�ack hzlandrclar kullan.pdf
CERN, y�ksek enerji fizii aratrmalar i�in par�ack hzlandrclar kullan.pdfCERN, y�ksek enerji fizii aratrmalar i�in par�ack hzlandrclar kullan.pdf
CERN, y�ksek enerji fizii aratrmalar i�in par�ack hzlandrclar kullan.pdfakpatra2000
 
Caso Integrativo 2.3 �Invertir�as en Turqu�a Por Canan Mutlu.pdf
Caso Integrativo 2.3 �Invertir�as en Turqu�a Por Canan Mutlu.pdfCaso Integrativo 2.3 �Invertir�as en Turqu�a Por Canan Mutlu.pdf
Caso Integrativo 2.3 �Invertir�as en Turqu�a Por Canan Mutlu.pdfakpatra2000
 
CASO In re The Walt Disney Co. Derivative Litigation 907 A.2d 6.pdf
CASO In re The Walt Disney Co. Derivative Litigation 907 A.2d 6.pdfCASO In re The Walt Disney Co. Derivative Litigation 907 A.2d 6.pdf
CASO In re The Walt Disney Co. Derivative Litigation 907 A.2d 6.pdfakpatra2000
 
Caso �Cu�les son las fortalezas y debilidades de la empresa Lonel.pdf
Caso �Cu�les son las fortalezas y debilidades de la empresa Lonel.pdfCaso �Cu�les son las fortalezas y debilidades de la empresa Lonel.pdf
Caso �Cu�les son las fortalezas y debilidades de la empresa Lonel.pdfakpatra2000
 

More from akpatra2000 (20)

class Internet systems (html) Create a picture album with the foll.pdf
class Internet systems (html)  Create a picture album with the foll.pdfclass Internet systems (html)  Create a picture album with the foll.pdf
class Internet systems (html) Create a picture album with the foll.pdf
 
Clasificar acumulaciones y aplazamientos Clasifique las siguientes.pdf
Clasificar acumulaciones y aplazamientos Clasifique las siguientes.pdfClasificar acumulaciones y aplazamientos Clasifique las siguientes.pdf
Clasificar acumulaciones y aplazamientos Clasifique las siguientes.pdf
 
Class Speaker Data Members db (float) 1. Write a function definiti.pdf
Class Speaker Data Members db (float) 1. Write a function definiti.pdfClass Speaker Data Members db (float) 1. Write a function definiti.pdf
Class Speaker Data Members db (float) 1. Write a function definiti.pdf
 
Cinco individuos de una poblaci�n animal que se cree que est� al bor.pdf
Cinco individuos de una poblaci�n animal que se cree que est� al bor.pdfCinco individuos de una poblaci�n animal que se cree que est� al bor.pdf
Cinco individuos de una poblaci�n animal que se cree que est� al bor.pdf
 
Cisco Systems Evoluci�n de la estructura La evoluci�n de Cisco desd.pdf
Cisco Systems Evoluci�n de la estructura La evoluci�n de Cisco desd.pdfCisco Systems Evoluci�n de la estructura La evoluci�n de Cisco desd.pdf
Cisco Systems Evoluci�n de la estructura La evoluci�n de Cisco desd.pdf
 
Cinco pasos. Elija una de las tres formas discutidas para cultivar l.pdf
Cinco pasos. Elija una de las tres formas discutidas para cultivar l.pdfCinco pasos. Elija una de las tres formas discutidas para cultivar l.pdf
Cinco pasos. Elija una de las tres formas discutidas para cultivar l.pdf
 
Christine, bir �retim tesisi inaat projesinin proje y�neticisidir. C.pdf
Christine, bir �retim tesisi inaat projesinin proje y�neticisidir. C.pdfChristine, bir �retim tesisi inaat projesinin proje y�neticisidir. C.pdf
Christine, bir �retim tesisi inaat projesinin proje y�neticisidir. C.pdf
 
Choosematch which one- Long dated options- Allow investors to .pdf
Choosematch which one- Long dated options- Allow investors to .pdfChoosematch which one- Long dated options- Allow investors to .pdf
Choosematch which one- Long dated options- Allow investors to .pdf
 
cemexLa estrategia de crecimiento de CEMEX fue impulsada por adqui.pdf
cemexLa estrategia de crecimiento de CEMEX fue impulsada por adqui.pdfcemexLa estrategia de crecimiento de CEMEX fue impulsada por adqui.pdf
cemexLa estrategia de crecimiento de CEMEX fue impulsada por adqui.pdf
 
ccording to the U.S. Census, 67.5 of the U.S. population were born .pdf
ccording to the U.S. Census, 67.5 of the U.S. population were born .pdfccording to the U.S. Census, 67.5 of the U.S. population were born .pdf
ccording to the U.S. Census, 67.5 of the U.S. population were born .pdf
 
Cheatham and Dunlay are involved in a partnership dispute that prese.pdf
Cheatham and Dunlay are involved in a partnership dispute that prese.pdfCheatham and Dunlay are involved in a partnership dispute that prese.pdf
Cheatham and Dunlay are involved in a partnership dispute that prese.pdf
 
Charles Lyell, a geologist and friend of Charles Darwin, influenced .pdf
Charles Lyell, a geologist and friend of Charles Darwin, influenced .pdfCharles Lyell, a geologist and friend of Charles Darwin, influenced .pdf
Charles Lyell, a geologist and friend of Charles Darwin, influenced .pdf
 
Can someone please help with the ones in RED Cullumber, Inc. had th.pdf
Can someone please help with the ones in RED Cullumber, Inc. had th.pdfCan someone please help with the ones in RED Cullumber, Inc. had th.pdf
Can someone please help with the ones in RED Cullumber, Inc. had th.pdf
 
Chapter 4 begins with informing us on the complexities and reasons a.pdf
Chapter 4 begins with informing us on the complexities and reasons a.pdfChapter 4 begins with informing us on the complexities and reasons a.pdf
Chapter 4 begins with informing us on the complexities and reasons a.pdf
 
Cerebral blood flow (CBF) in the brains of healthy people is normall.pdf
Cerebral blood flow (CBF) in the brains of healthy people is normall.pdfCerebral blood flow (CBF) in the brains of healthy people is normall.pdf
Cerebral blood flow (CBF) in the brains of healthy people is normall.pdf
 
Chandimal Ltd paid a consideration of $650000 on 1.1.20X5 to acquire.pdf
Chandimal Ltd paid a consideration of $650000 on 1.1.20X5 to acquire.pdfChandimal Ltd paid a consideration of $650000 on 1.1.20X5 to acquire.pdf
Chandimal Ltd paid a consideration of $650000 on 1.1.20X5 to acquire.pdf
 
CERN, y�ksek enerji fizii aratrmalar i�in par�ack hzlandrclar kullan.pdf
CERN, y�ksek enerji fizii aratrmalar i�in par�ack hzlandrclar kullan.pdfCERN, y�ksek enerji fizii aratrmalar i�in par�ack hzlandrclar kullan.pdf
CERN, y�ksek enerji fizii aratrmalar i�in par�ack hzlandrclar kullan.pdf
 
Caso Integrativo 2.3 �Invertir�as en Turqu�a Por Canan Mutlu.pdf
Caso Integrativo 2.3 �Invertir�as en Turqu�a Por Canan Mutlu.pdfCaso Integrativo 2.3 �Invertir�as en Turqu�a Por Canan Mutlu.pdf
Caso Integrativo 2.3 �Invertir�as en Turqu�a Por Canan Mutlu.pdf
 
CASO In re The Walt Disney Co. Derivative Litigation 907 A.2d 6.pdf
CASO In re The Walt Disney Co. Derivative Litigation 907 A.2d 6.pdfCASO In re The Walt Disney Co. Derivative Litigation 907 A.2d 6.pdf
CASO In re The Walt Disney Co. Derivative Litigation 907 A.2d 6.pdf
 
Caso �Cu�les son las fortalezas y debilidades de la empresa Lonel.pdf
Caso �Cu�les son las fortalezas y debilidades de la empresa Lonel.pdfCaso �Cu�les son las fortalezas y debilidades de la empresa Lonel.pdf
Caso �Cu�les son las fortalezas y debilidades de la empresa Lonel.pdf
 

Recently uploaded

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 

Recently uploaded (20)

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 

Code must be in assembly language (10 points) 1. Write a program usi.pdf

  • 1. Code must be in assembly language (10 points) 1. Write a program using indexed-ROM addressing mode, where your lookup table will be in program memory, i.e., ROM. Assume that the lower three bits of PORTC are connected to three switches. Write a program to send the following ASCII characters to PORTB based on the status of the switches in PIC18 microcontroller.