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

Microcontroller, Project Garage door opener with password. Wrong password ...

Project Garage door opener with password. Wrong password "door close" on lcd screen, correct password "door open" on lcd Screen no need the motor. Material used - Microcontroller

Comparison with vacuum tubes, Comparison with vacuum tubes: Prior to t...

Comparison with vacuum tubes: Prior to the growth of transistors, vacuum (electron) tubes (or in the UK (United Kingdom) "thermionic valves" or just "valves") were the major a

., ABOUT ASSIGNMENT ON MAGNETIC INDUCTION NEAR A LONG WIRE

ABOUT ASSIGNMENT ON MAGNETIC INDUCTION NEAR A LONG WIRE

Sketch the idealized bode plot, Q. Sketch the idealized (asymptotic) Bode p...

Q. Sketch the idealized (asymptotic) Bode plot for the transfer function Find the angular frequency at which H(ω) is 0dB and the angular frequency at which θ(ω) = -60°.

Capacitive coupling, A Class, "A" Amplifier is needed with the following sp...

A Class, "A" Amplifier is needed with the following specification: Collector Current = 5mA Needed offset voltage across RE= 2V Lowest input Frequency = 50Hz Use a BC108

What are transmission bridges, Q. What are transmission bridges? How do the...

Q. What are transmission bridges? How do they assist in satisfying the connectivity?  Ans: A typical transmission bridge is demonstrated in figure. Series capacitance and shunt

Mathematics, The two sides of a triangle are 17 cm and 28 cm long, and the ...

The two sides of a triangle are 17 cm and 28 cm long, and the length of the median drawn to the third side is equal to 19.5 cm. Find the distance from an endpoint of this median to

State advantages of washing machine, State advantagesof Washing machine ...

State advantagesof Washing machine Main advantages are that these washing machines are fully automatic (wash programs are fully stored) it makes them easy to use, they are chea

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