SlideShare a Scribd company logo
1 of 1
Download to read offline
Code must be in assembly language (10 points) 2 . Write a program by using RETLW
instructions to implement a look-up table. Your look-up 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

Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
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
 
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
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
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
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
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
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
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
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
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
 
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
 

Recently uploaded (20)

Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
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
 
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
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
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
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
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
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
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
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
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
 

Code must be in assembly language (10 points) 2 . Write a program by.pdf

  • 1. Code must be in assembly language (10 points) 2 . Write a program by using RETLW instructions to implement a look-up table. Your look-up 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.