Design implement and test the not gate

Assignment Help Computer Engineering
Reference no: EM13802026

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

 

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

Reference no: EM13802026

Questions Cloud

Document the procurement management plan : Document the procurement management plan
Explicate the diplomatic doctrine the president : Explicate the diplomatic doctrine the president followed, with reference to specific actions or events that occurred. Describe the effects of these diplomatic efforts for the U.S. and other countries.
Company b & o are huge public businesses subsidiaries throug : Company B & O are huge public businesses subsidiaries throughout the world. B firm centralized aproach most of the decision they make for its subsidiaies. Firm O use decentralize approach its subsidiaries make alot of the decision 1.agency problem be..
Write three pages paper about the movie when harry met sally : Write three pages paper about the movie "when harry met Sally".
Design implement and test the not gate : 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)
Summary of political and legal issues of robotic surgery : Summary Political and Legal issues of Robotic Surgery? Summary Identify and explore What the Psychological considerations and sociological effects when having or doing Robotic Surgery?
What are the disadvantages of the united states strategies : Write a 350- to 700-word comparison of the reactive and proactive strategies used in the United States and in the countries you selected. What are the advantages and disadvantages of the United States' strategies
Standard deviation stock returns stock a : Standard deviation stock returns Stock A = 25 percent standard deviation market return 15 percent correlation between stock A market .75 1.Calculate stock A beta 2 bull market rapid increase stock price stock a likely out perform or under the avg sto..
U.s. supreme court were appointed by democratic presidents : How many current justices on the U.S. Supreme Court were appointed by Democratic presidents

Reviews

Write a Review

Computer Engineering Questions & Answers

  Why embedded system processor would use concurrent processes

Explain why embedded system processor would use concurrent processes to control an alarm system in a home. Door and Window switches, motion detector all controlled through a central panel.

  You are the chief information security officer ciso for vl

you are the chief information security officer ciso for vl bank as depicted in the attached vl bank case study.

  Write a function which takes a c string as an input

Write a function which takes a C string as an input and converts it to all uppercase characters. For each lowercase character in the C string, simply subtract 32 from it to form the uppercase character.

  Choose one of the exercised from the award winning book

choose one of the exercised from the award winning book computer science unplugged. record a creative presentation of

  Calculates the cutoff frequency in a simple rc circuit

Write a simple Java application which calculates the cutoff frequency in a simple RC circuit. Your application should ask the user to enter the capacitor and resistor values of the circuit. You must use the JOptionPane class to collect the user's ..

  The control process can be replaced with proper standards

Do you agree or disagree with this view? Provide reasoning for your view.

  Give a short overview of any five programs

Visit Web sites for companies that sell computer peripherals. Compile a list that contains as many types of input and output devices as you can locate on these Web sites. After compiling this list, be sure to document the Web sites you viewed to d..

  Examine the unique characteristic of technology and internet

Examine the unique characteristics of the technology and the Internet. Evaluate the ways in which these characteristics have changed modern businesses.

  Demonstrate ascii code conversion

Develop a program for the PIC 16F84A using the MPLAB v8 IDE (MPLAB IDE v8.86) simulator software - Demonstrate the use of subroutines, e.g. initialize the peripheral registers and to set the time delays, etc.

  Task 1you are required in your new role as an enterprise

task 1you are required in your new role as an enterprise architect ea to do a swot analysis of a current ict servicein

  Eplain the usage and purpose of the is system the

1. summarize the organizations current and past use of information systems and its impact on operations

  Questionthe most important public consulting firm has been

questionthe most important public consulting firm has been tasked with implementing an online patient care system that

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd