Program to read data from one port and write to another port

Assignment Help Other Engineering
Reference no: EM131559155

Microprocessor Interfacing & Programming

Q. Write program code in 8051 assembly language for the following conditions

a. Read data from Port 0 if bit 3 of Port 0 is ‘1' then write same data to Port 1 otherwise exit.

b. Read data from Port 0 if bit 3 of Port 0 is ‘1' then write same data to Port 1 and exit else write same data to Port 2 and exit

c. Read data from Port 0 if bit 3 of Port 0 is'1' then write same data to Port 1 and Port 2 otherwise exit.

d. Read data from Port 0 if bit 3 of Port 0 is'1' then write same data to Port 1 and Port 2 and exit else write same data to Port 3 and exit.

e. Read data from Port 0 if bit 3 and bit 6 of Port 0 are both ‘1' then write same data to Port 1 otherwise exit.

f. Read data from Port 0 if bit 3 and bit 6 of Port 0 are both ‘1' then write same data to Port 1 and exit

g. Read data from Port 0 if bit 3 or bit 6 of Port 0 is ‘1' then write same data to Port 1 otherwise exit.

h. Read data from Port 0 if bit 3 or bit 6 of Port 0 is ‘1' then write same data to Port 1 and exit else write same data to Port 2 and exit.

Reference no: EM131559155

Questions Cloud

Explain the cultural and environmental influences : Explain cultural and environmental influences that may help or hinder implementation of the campaign. Explain anticipated long-term implication of the campaign.
Trump conflicting interpretations by the courts : Do you agree with the Supreme Court's Brand X decision holding that agency interpretations of statues should trump conflicting interpretations by the courts?
What is total value for liabilities and capital : From the accounts listed, what is Sierra's total value for liabilities and capital?
Determine the level of evidence identified in the review : Describe the study approach, sample size, and population studied. Evaluate the outcomes, identifying the validity and reliability.
Program to read data from one port and write to another port : Read data from Port 0 if bit 3 of Port 0 is ‘1' then write same data to Port 1 otherwise exit - Microprocessor Interfacing & Programming
How hester and dimmesdale assert her positive influence : How Pearl represents a living emblem of the scarlet letter and how Hester and Dimmesdale assert her positive influence on Hester
Describe three motivational techniques : Describe three motivational techniques that will keep the outcome and effects of others moving toward the organization's goals.
Differences between similar types of establishments : In terms of an organizational culture, there can be a huge range of differences between similar types of establishments.
Determining an employee job satisfaction : Spending time in a positive work environment can be a key factor in determining an employee's job satisfaction. In your resources for this week

Reviews

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

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