OUT Output Instruction , Electrical Engineering

Assignment Help:

OUT Output Instruction

This instruction is used  send data byte  stored in the accumulator  to the  output  port  whose  address  specified in the instruction. The instruction format is

OUT 8 bit  port address                [ output  port  address ] - A]

Example: How  to send  data byte sorted  in register B  to the  output port identified by  8 bit  address (00H)?

Solution : OUT  instruction is used to send data  byte  stored  in the  accumulator to the  specified  output  port.  Hence data  strode in register B will  have to  copied into  accumulator  first  using MOV instruction. Following  instruction  are used to  perform  the given task.

MOV  A, B

OUT 00H

Hardware and other  details  of interfacing  input output  ports are explained in  chapter 7.

 


Related Discussions:- OUT Output Instruction

Survey for designing of a cross-over circuit for loudspeaker, Crossovers ar...

Crossovers are generally used with loudspeakers having multiple drivers. Loudspeakers with single drivers are unable to cover the entire frequency range i.e from low to high freque

Explain ionic polarisation, Explain ionic polarisation. Ionic Polaris...

Explain ionic polarisation. Ionic Polarisation: It takes account of the fact that while some of the atoms in a molecule contain an excess positive or negative charge that of

Show the applications of a r-c coupled amplifier, Q. What are the applicati...

Q. What are the applications of a R-C coupled amplifier. The R-C coupled amplifiers have excellent audio fidelity over a wide range of frequency. Therefore, they are widely use

Program analysis , Program Analysis We have to find the greater of two...

Program Analysis We have to find the greater of two given  number. We  can store the given  numbers  in two  different  registers ( suppose register A and B). Then we will com

Write a note on superconductors, Write a note on superconductors. Super...

Write a note on superconductors. Superconductors- The resistivity of most metals rises with increase in temperature and vice-versa. Some metals and chemical compounds are there

Explain daa instruction, Explain DAA instruction. DAA: The DAA instruct...

Explain DAA instruction. DAA: The DAA instruction follows the instruction ADC or ADD to adjust the result in a BCD result. The DAA instruction performs only with the AL registe

Stakeholders - legal requirements for distribution licensees, Stakeholders ...

Stakeholders - Legal Requirements for Distribution licensees There have to be consultations among several stakeholders such as the licensees, the governments, consumers, gener

Find the resistance of 1 km of copper cable, Find the resistance of 1 km o...

Find the resistance of 1 km of copper cable having a diameter of 10 mm if the resistivity of copper is 0.017 x 10 -6 Ωm.

#emf., what is the effect of back emf ?

what is the effect of back emf ?

Illustrate output-rate control, Q. Illustrate Output-rate control? A sy...

Q. Illustrate Output-rate control? A system is said to have output-rate damping when the generation of the output quantity in some way ismade to depend upon the rate atwhich th

Write Your Message!

Captcha
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