SlideShare a Scribd company logo
Lab Objectives
The objective for this lab is to review the Motorola assembly
language instruction set using digital logic gates. This lab will
also serve as a review of digital logic and introduce the concept
of coding logic designs in assembly.
Description
In this lab, you will overview the assembly logic instructions
that can be used for logic gates. A logic gate is an idealized or
physical device implementing a Boolean function, that is, it
performs a logical operation on one or more logic inputs and
produces a logic output(s). You will then use these logic gates
to create a logic circuit in assembly.
Work Task
Design, implement, and test the following logic gates. For parts
1-4, your code must reside on the EEPROM (ROM). For parts 5
and 6, your code must be in program section of RAM (PROG).
And your variables must reside in the data section of RAM
(DATA). You must use the assembly logic instructions available
to you (e.g., ANDA for the AND gates).
1.
NOT Gate
The overall objective is to create a NOT gate. The system has
one digital input and one digital output, such that the output is
the logical complement of the input. Investigate the complement
(i.e., COMA and COMB) and the BCLR instructions.
IN
OUT
0
1
1
0
2.
3-Input AND Gate
The overall objective is to create a 3-input AND gate. The
system has three digital inputs and one digital output, such that
the output is the logical AND of the three inputs. Investigate the
AND instruction (i.e., ANDA or ANDB).
IN 1
IN 2
IN 3
OUT
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
0
1
1
0
0
1
1
1
1
3.
3-Input OR Gate
The overall objective is to create a 3-input OR gate. The system
has three digital inputs and one digital output, such that the
output is the logical OR of the three inputs. Investigate the OR
instruction (i.e., ORAA or ORAB).
IN 1
IN 2
IN 3
OUT
0
0
0
0
0
0
1
1
0
1
0
1
0
1
1
1
1
0
0
1
1
0
1
1
1
1
0
1
1
1
1
1
4.
2-Input XOR Gate
The overall objective is to create a 2-input XOR gate. The
system has two digital inputs and one digital output, such that
the output is the logical XOR of the two inputs. Investigate the
XOR instruction (i.e., EORA or EORB).
IN 1
IN 2
OUT
0
0
0
0
1
1
1
0
1
1
1
0
5.
Sum-of-Products (SoP)
Using the
sum-of-products
expression, find and code the simplified logic function for
Table 1 using the assembly logic instructions. Show your work
in the discussion section of your report (i.e., k-maps and digital
logic schematic).
A
B
C
F
0
0
0
0
0
0
1
1
0
1
0
1
0
1
1
0
1
0
0
0
1
0
1
0
1
1
0
1
1
1
1
1
Table 1: Truth table 1.
6.
Product-of-Sums (PoS)
Using the
products-of-sums
expression, find and code the simplified logic function for
Table 2 using the assembly logic instructions. Show your work
in the discussion section of your report (i.e., k-maps and digital
logic schematic).
A
B
C
D
F
0
0
0
0
1
0
0
0
1
1
0
0
1
0
0
0
0
1
1
0
0
1
0
0
0
0
1
0
1
0
0
1
1
0
0
0
1
1
1
1
1
0
0
0
1
1
0
0
1
0
1
0
1
0
0
1
0
1
1
0
1
1
0
0
1
1
1
0
1
1
1
1
1
0
1
1
1
1
1
1
Table 2: Truth table 2.
What to Turn In (
Please read this carefully
)
You are to put your code as text and screenshots into the
“Lab_2_Template.docx” in the designated areas. This will be
the file that you upload to TITANium as your submission.
Provide your code as text, not an image. Points will be deducted
if it is an image. You are then to take screenshots of your
program in
both
CodeWarrior and terminal (i.e. on the Dragon board). The
screenshot should show the relevant CPU registers and memory
locations (NOTE: a convenient way of getting screenshots is to
use the “snipping tool”).
For the logic design portion for parts 5 and 6, turn in your
design (i.e., k-maps and digital logic schematic) for as a paper
submission. No logic design is required for parts 1 to 4.
Lab ObjectivesThe objective for this lab is to review the Motoro.docx

More Related Content

Similar to Lab ObjectivesThe objective for this lab is to review the Motoro.docx

Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdf
KINGZzofYouTube
 
Programmable Logic Array(PLA), digital circuits
Programmable Logic Array(PLA), digital circuits Programmable Logic Array(PLA), digital circuits
Programmable Logic Array(PLA), digital circuits
warda aziz
 
Boolean Algebra- Digital Logic gates
Boolean Algebra- Digital Logic gatesBoolean Algebra- Digital Logic gates
Boolean Algebra- Digital Logic gates
NTBsnull
 
Programmable logic devices
Programmable logic devicesProgrammable logic devices
Programmable logic devices
Ammara Javed
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
AswiniT3
 
ROM PAL PLA.ppt
ROM PAL PLA.pptROM PAL PLA.ppt
ROM PAL PLA.ppt
wafawafa52
 
Programmable logic devices
Programmable logic devicesProgrammable logic devices
Programmable logic devices
ISMT College
 
ECAD lab manual
ECAD lab manualECAD lab manual
ECAD lab manual
Dr. Swaminathan Kathirvel
 
PROGRAMMABLE LOGIC DEVICES-PAL, PROM,PLAs
PROGRAMMABLE LOGIC DEVICES-PAL, PROM,PLAsPROGRAMMABLE LOGIC DEVICES-PAL, PROM,PLAs
PROGRAMMABLE LOGIC DEVICES-PAL, PROM,PLAs
DianaD43
 
Logic Gates (Physics Investigatory Project Class 11&12).pptx
Logic Gates (Physics Investigatory Project Class 11&12).pptxLogic Gates (Physics Investigatory Project Class 11&12).pptx
Logic Gates (Physics Investigatory Project Class 11&12).pptx
Hemavarshini47
 
e CAD lab manual
e CAD lab manuale CAD lab manual
e CAD lab manual
Amairullah Khan Lodhi
 
Programmable logic array
Programmable logic arrayProgrammable logic array
Programmable logic array
RSARANYADEVI
 
Central processing unit
Central processing unitCentral processing unit
Central processing unit
Heman Pathak
 
08 chapter03 06_status_bits_otl_otu_scan_logic_fa16
08 chapter03 06_status_bits_otl_otu_scan_logic_fa1608 chapter03 06_status_bits_otl_otu_scan_logic_fa16
08 chapter03 06_status_bits_otl_otu_scan_logic_fa16
John Todora
 
MICROCONTROLLER 8051
MICROCONTROLLER 8051MICROCONTROLLER 8051
Basics of plc_programming
Basics of plc_programmingBasics of plc_programming
Basics of plc_programming
hamza239523
 
Basics of plc programming
Basics of plc programmingBasics of plc programming
Basics of plc programming
Sergio Barrios
 
Computer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notesComputer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notes
Lakshmi Sarvani Videla
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
Adarsh College, Hingoli
 
microcontroller.pptx
microcontroller.pptxmicrocontroller.pptx
microcontroller.pptx
Adarsh College, Hingoli
 

Similar to Lab ObjectivesThe objective for this lab is to review the Motoro.docx (20)

Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdf
 
Programmable Logic Array(PLA), digital circuits
Programmable Logic Array(PLA), digital circuits Programmable Logic Array(PLA), digital circuits
Programmable Logic Array(PLA), digital circuits
 
Boolean Algebra- Digital Logic gates
Boolean Algebra- Digital Logic gatesBoolean Algebra- Digital Logic gates
Boolean Algebra- Digital Logic gates
 
Programmable logic devices
Programmable logic devicesProgrammable logic devices
Programmable logic devices
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
ROM PAL PLA.ppt
ROM PAL PLA.pptROM PAL PLA.ppt
ROM PAL PLA.ppt
 
Programmable logic devices
Programmable logic devicesProgrammable logic devices
Programmable logic devices
 
ECAD lab manual
ECAD lab manualECAD lab manual
ECAD lab manual
 
PROGRAMMABLE LOGIC DEVICES-PAL, PROM,PLAs
PROGRAMMABLE LOGIC DEVICES-PAL, PROM,PLAsPROGRAMMABLE LOGIC DEVICES-PAL, PROM,PLAs
PROGRAMMABLE LOGIC DEVICES-PAL, PROM,PLAs
 
Logic Gates (Physics Investigatory Project Class 11&12).pptx
Logic Gates (Physics Investigatory Project Class 11&12).pptxLogic Gates (Physics Investigatory Project Class 11&12).pptx
Logic Gates (Physics Investigatory Project Class 11&12).pptx
 
e CAD lab manual
e CAD lab manuale CAD lab manual
e CAD lab manual
 
Programmable logic array
Programmable logic arrayProgrammable logic array
Programmable logic array
 
Central processing unit
Central processing unitCentral processing unit
Central processing unit
 
08 chapter03 06_status_bits_otl_otu_scan_logic_fa16
08 chapter03 06_status_bits_otl_otu_scan_logic_fa1608 chapter03 06_status_bits_otl_otu_scan_logic_fa16
08 chapter03 06_status_bits_otl_otu_scan_logic_fa16
 
MICROCONTROLLER 8051
MICROCONTROLLER 8051MICROCONTROLLER 8051
MICROCONTROLLER 8051
 
Basics of plc_programming
Basics of plc_programmingBasics of plc_programming
Basics of plc_programming
 
Basics of plc programming
Basics of plc programmingBasics of plc programming
Basics of plc programming
 
Computer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notesComputer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notes
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
microcontroller.pptx
microcontroller.pptxmicrocontroller.pptx
microcontroller.pptx
 

More from jesseniasaddler

List and discuss five important criteria that a state must meet in.docx
List and discuss five important criteria that a state must meet in.docxList and discuss five important criteria that a state must meet in.docx
List and discuss five important criteria that a state must meet in.docx
jesseniasaddler
 
List and define the five traits included in the Big Five theory of p.docx
List and define the five traits included in the Big Five theory of p.docxList and define the five traits included in the Big Five theory of p.docx
List and define the five traits included in the Big Five theory of p.docx
jesseniasaddler
 
List and describe the six (6) parts of a speech.Describe.docx
List and describe the six (6) parts of a speech.Describe.docxList and describe the six (6) parts of a speech.Describe.docx
List and describe the six (6) parts of a speech.Describe.docx
jesseniasaddler
 
List 2 characteristics of each period listed below1-2. Renais.docx
List 2 characteristics of each period listed below1-2. Renais.docxList 2 characteristics of each period listed below1-2. Renais.docx
List 2 characteristics of each period listed below1-2. Renais.docx
jesseniasaddler
 
Linking or actionThe government opertaion many large parks.Many .docx
Linking or actionThe government opertaion many large parks.Many .docxLinking or actionThe government opertaion many large parks.Many .docx
Linking or actionThe government opertaion many large parks.Many .docx
jesseniasaddler
 
Limit responses to less than one page each using 12 pt. Time News Ro.docx
Limit responses to less than one page each using 12 pt. Time News Ro.docxLimit responses to less than one page each using 12 pt. Time News Ro.docx
Limit responses to less than one page each using 12 pt. Time News Ro.docx
jesseniasaddler
 
Limit responses to less than one page each using 12 pt. Time News .docx
Limit responses to less than one page each using 12 pt. Time News .docxLimit responses to less than one page each using 12 pt. Time News .docx
Limit responses to less than one page each using 12 pt. Time News .docx
jesseniasaddler
 
Likewise with each new investigative finding there will dependably b.docx
Likewise with each new investigative finding there will dependably b.docxLikewise with each new investigative finding there will dependably b.docx
Likewise with each new investigative finding there will dependably b.docx
jesseniasaddler
 
Lifelong Learning PlanIntroductionLife long learning is a concep.docx
Lifelong Learning PlanIntroductionLife long learning is a concep.docxLifelong Learning PlanIntroductionLife long learning is a concep.docx
Lifelong Learning PlanIntroductionLife long learning is a concep.docx
jesseniasaddler
 
Library Research AssignmentYou are new member of internal affairs .docx
Library Research AssignmentYou are new member of internal affairs .docxLibrary Research AssignmentYou are new member of internal affairs .docx
Library Research AssignmentYou are new member of internal affairs .docx
jesseniasaddler
 
Library Research AssignmentUse the library and other Web resources.docx
Library Research AssignmentUse the library and other Web resources.docxLibrary Research AssignmentUse the library and other Web resources.docx
Library Research AssignmentUse the library and other Web resources.docx
jesseniasaddler
 
Let U = {8, 9, 10, 11, 12, 13, 14}, .docx
Let U = {8, 9, 10, 11, 12, 13, 14}, .docxLet U = {8, 9, 10, 11, 12, 13, 14}, .docx
Let U = {8, 9, 10, 11, 12, 13, 14}, .docx
jesseniasaddler
 
Letter of CreditThe text describes problems exporters have with le.docx
Letter of CreditThe text describes problems exporters have with le.docxLetter of CreditThe text describes problems exporters have with le.docx
Letter of CreditThe text describes problems exporters have with le.docx
jesseniasaddler
 
Lets start this discussion by sharing public observations. Spend ti.docx
Lets start this discussion by sharing public observations. Spend ti.docxLets start this discussion by sharing public observations. Spend ti.docx
Lets start this discussion by sharing public observations. Spend ti.docx
jesseniasaddler
 
Lets look to the 20th century portion of the Modules for this Discu.docx
Lets look to the 20th century portion of the Modules for this Discu.docxLets look to the 20th century portion of the Modules for this Discu.docx
Lets look to the 20th century portion of the Modules for this Discu.docx
jesseniasaddler
 
Leiningers Theory of Cultural Care Diversity and Universality.docx
Leiningers Theory of Cultural Care Diversity and Universality.docxLeiningers Theory of Cultural Care Diversity and Universality.docx
Leiningers Theory of Cultural Care Diversity and Universality.docx
jesseniasaddler
 
Length PowerPoint presentation with 10 - 15 slides (not including.docx
Length PowerPoint presentation with 10 - 15 slides (not including.docxLength PowerPoint presentation with 10 - 15 slides (not including.docx
Length PowerPoint presentation with 10 - 15 slides (not including.docx
jesseniasaddler
 
Length PowerPoint presentation with 15 slides (not including ti.docx
Length PowerPoint presentation with 15 slides (not including ti.docxLength PowerPoint presentation with 15 slides (not including ti.docx
Length PowerPoint presentation with 15 slides (not including ti.docx
jesseniasaddler
 
Length is 3-4 pages not including References. references should be a.docx
Length is 3-4 pages not including References. references should be a.docxLength is 3-4 pages not including References. references should be a.docx
Length is 3-4 pages not including References. references should be a.docx
jesseniasaddler
 
Length1,000 words maximumThere are five general ethical t.docx
Length1,000 words maximumThere are five general ethical t.docxLength1,000 words maximumThere are five general ethical t.docx
Length1,000 words maximumThere are five general ethical t.docx
jesseniasaddler
 

More from jesseniasaddler (20)

List and discuss five important criteria that a state must meet in.docx
List and discuss five important criteria that a state must meet in.docxList and discuss five important criteria that a state must meet in.docx
List and discuss five important criteria that a state must meet in.docx
 
List and define the five traits included in the Big Five theory of p.docx
List and define the five traits included in the Big Five theory of p.docxList and define the five traits included in the Big Five theory of p.docx
List and define the five traits included in the Big Five theory of p.docx
 
List and describe the six (6) parts of a speech.Describe.docx
List and describe the six (6) parts of a speech.Describe.docxList and describe the six (6) parts of a speech.Describe.docx
List and describe the six (6) parts of a speech.Describe.docx
 
List 2 characteristics of each period listed below1-2. Renais.docx
List 2 characteristics of each period listed below1-2. Renais.docxList 2 characteristics of each period listed below1-2. Renais.docx
List 2 characteristics of each period listed below1-2. Renais.docx
 
Linking or actionThe government opertaion many large parks.Many .docx
Linking or actionThe government opertaion many large parks.Many .docxLinking or actionThe government opertaion many large parks.Many .docx
Linking or actionThe government opertaion many large parks.Many .docx
 
Limit responses to less than one page each using 12 pt. Time News Ro.docx
Limit responses to less than one page each using 12 pt. Time News Ro.docxLimit responses to less than one page each using 12 pt. Time News Ro.docx
Limit responses to less than one page each using 12 pt. Time News Ro.docx
 
Limit responses to less than one page each using 12 pt. Time News .docx
Limit responses to less than one page each using 12 pt. Time News .docxLimit responses to less than one page each using 12 pt. Time News .docx
Limit responses to less than one page each using 12 pt. Time News .docx
 
Likewise with each new investigative finding there will dependably b.docx
Likewise with each new investigative finding there will dependably b.docxLikewise with each new investigative finding there will dependably b.docx
Likewise with each new investigative finding there will dependably b.docx
 
Lifelong Learning PlanIntroductionLife long learning is a concep.docx
Lifelong Learning PlanIntroductionLife long learning is a concep.docxLifelong Learning PlanIntroductionLife long learning is a concep.docx
Lifelong Learning PlanIntroductionLife long learning is a concep.docx
 
Library Research AssignmentYou are new member of internal affairs .docx
Library Research AssignmentYou are new member of internal affairs .docxLibrary Research AssignmentYou are new member of internal affairs .docx
Library Research AssignmentYou are new member of internal affairs .docx
 
Library Research AssignmentUse the library and other Web resources.docx
Library Research AssignmentUse the library and other Web resources.docxLibrary Research AssignmentUse the library and other Web resources.docx
Library Research AssignmentUse the library and other Web resources.docx
 
Let U = {8, 9, 10, 11, 12, 13, 14}, .docx
Let U = {8, 9, 10, 11, 12, 13, 14}, .docxLet U = {8, 9, 10, 11, 12, 13, 14}, .docx
Let U = {8, 9, 10, 11, 12, 13, 14}, .docx
 
Letter of CreditThe text describes problems exporters have with le.docx
Letter of CreditThe text describes problems exporters have with le.docxLetter of CreditThe text describes problems exporters have with le.docx
Letter of CreditThe text describes problems exporters have with le.docx
 
Lets start this discussion by sharing public observations. Spend ti.docx
Lets start this discussion by sharing public observations. Spend ti.docxLets start this discussion by sharing public observations. Spend ti.docx
Lets start this discussion by sharing public observations. Spend ti.docx
 
Lets look to the 20th century portion of the Modules for this Discu.docx
Lets look to the 20th century portion of the Modules for this Discu.docxLets look to the 20th century portion of the Modules for this Discu.docx
Lets look to the 20th century portion of the Modules for this Discu.docx
 
Leiningers Theory of Cultural Care Diversity and Universality.docx
Leiningers Theory of Cultural Care Diversity and Universality.docxLeiningers Theory of Cultural Care Diversity and Universality.docx
Leiningers Theory of Cultural Care Diversity and Universality.docx
 
Length PowerPoint presentation with 10 - 15 slides (not including.docx
Length PowerPoint presentation with 10 - 15 slides (not including.docxLength PowerPoint presentation with 10 - 15 slides (not including.docx
Length PowerPoint presentation with 10 - 15 slides (not including.docx
 
Length PowerPoint presentation with 15 slides (not including ti.docx
Length PowerPoint presentation with 15 slides (not including ti.docxLength PowerPoint presentation with 15 slides (not including ti.docx
Length PowerPoint presentation with 15 slides (not including ti.docx
 
Length is 3-4 pages not including References. references should be a.docx
Length is 3-4 pages not including References. references should be a.docxLength is 3-4 pages not including References. references should be a.docx
Length is 3-4 pages not including References. references should be a.docx
 
Length1,000 words maximumThere are five general ethical t.docx
Length1,000 words maximumThere are five general ethical t.docxLength1,000 words maximumThere are five general ethical t.docx
Length1,000 words maximumThere are five general ethical t.docx
 

Recently uploaded

BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
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
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
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 Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
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
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
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
 
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
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
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
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 

Recently uploaded (20)

BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
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
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
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 Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
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
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
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
 
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
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
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
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 

Lab ObjectivesThe objective for this lab is to review the Motoro.docx

  • 1. Lab Objectives The objective for this lab is to review the Motorola assembly language instruction set using digital logic gates. This lab will also serve as a review of digital logic and introduce the concept of coding logic designs in assembly. Description In this lab, you will overview the assembly logic instructions that can be used for logic gates. A logic gate is an idealized or physical device implementing a Boolean function, that is, it performs a logical operation on one or more logic inputs and produces a logic output(s). You will then use these logic gates to create a logic circuit in assembly. Work Task Design, implement, and test the following logic gates. For parts 1-4, your code must reside on the EEPROM (ROM). For parts 5 and 6, your code must be in program section of RAM (PROG). And your variables must reside in the data section of RAM (DATA). You must use the assembly logic instructions available to you (e.g., ANDA for the AND gates). 1. NOT Gate The overall objective is to create a NOT gate. The system has one digital input and one digital output, such that the output is the logical complement of the input. Investigate the complement (i.e., COMA and COMB) and the BCLR instructions. IN OUT
  • 2. 0 1 1 0 2. 3-Input AND Gate The overall objective is to create a 3-input AND gate. The system has three digital inputs and one digital output, such that the output is the logical AND of the three inputs. Investigate the AND instruction (i.e., ANDA or ANDB). IN 1 IN 2 IN 3 OUT 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1
  • 3. 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 3. 3-Input OR Gate The overall objective is to create a 3-input OR gate. The system has three digital inputs and one digital output, such that the output is the logical OR of the three inputs. Investigate the OR instruction (i.e., ORAA or ORAB). IN 1 IN 2 IN 3 OUT 0 0 0 0 0 0
  • 4. 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1 4. 2-Input XOR Gate The overall objective is to create a 2-input XOR gate. The system has two digital inputs and one digital output, such that the output is the logical XOR of the two inputs. Investigate the XOR instruction (i.e., EORA or EORB).
  • 5. IN 1 IN 2 OUT 0 0 0 0 1 1 1 0 1 1 1 0 5. Sum-of-Products (SoP) Using the sum-of-products expression, find and code the simplified logic function for Table 1 using the assembly logic instructions. Show your work in the discussion section of your report (i.e., k-maps and digital logic schematic). A B C F 0 0 0
  • 6. 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 1 Table 1: Truth table 1. 6. Product-of-Sums (PoS) Using the products-of-sums expression, find and code the simplified logic function for
  • 7. Table 2 using the assembly logic instructions. Show your work in the discussion section of your report (i.e., k-maps and digital logic schematic). A B C D F 0 0 0 0 1 0 0 0 1 1 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0
  • 9. 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 Table 2: Truth table 2. What to Turn In ( Please read this carefully ) You are to put your code as text and screenshots into the “Lab_2_Template.docx” in the designated areas. This will be the file that you upload to TITANium as your submission. Provide your code as text, not an image. Points will be deducted if it is an image. You are then to take screenshots of your program in both CodeWarrior and terminal (i.e. on the Dragon board). The screenshot should show the relevant CPU registers and memory locations (NOTE: a convenient way of getting screenshots is to use the “snipping tool”). For the logic design portion for parts 5 and 6, turn in your design (i.e., k-maps and digital logic schematic) for as a paper submission. No logic design is required for parts 1 to 4.