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

Example register to memory , Example  Register  to Memory Example ...

Example  Register  to Memory Example : Write assembly language  statement  to copy 25H  stored  in register D to memory location 3052H. Solution :   Assuming  3050H is s

What do you understand by analog to digital conversion, Q. What do you unde...

Q. What do you understand by Analog to Digital conversion? What do you understand by A/D conversion? Give an explanation of any one of the following A/D techniques: (i) Su

Compute the power factor for zero voltage regulation, A three - phase,wye -...

A three - phase,wye - connected, 2500-kVA, 6600- V, 60-Hz turboalternator has a per-phase synchronous reactance and an armature resistance of 10.4 and 0.071 , respectively. Comput

Transistor as a switch, Transistor as a switch: Transistors are genera...

Transistor as a switch: Transistors are generally employed as electronic switches, for both of the high power applications including switched-mode power supplies and low power

Evaluate apparent depth of a needle, Q. A tank is filled with water to a he...

Q. A tank is filled with water to a height of 12.5cm.The apparent depth of a needle lying at the bottom of the tank is measured by a microscope to be 9.4cm.What is the refractive i

Basic operation of p-channel enhancement mosfet, Q. Basic Operation of  P-...

Q. Basic Operation of  P-channel enhancement MOSFET? In the fabrication of a p-channel depletion field-effect transistor, the gate is insulated from the channel. Therefore, the

Calculate the reflection of wedge, The corners of wedge-shaped block are A(...

The corners of wedge-shaped block are A(0,0,2), B(0,0,3), C(0,2,3), D(0,2,2), E(-1,2,2) and F(-1,2,3) and the reflection plane goes the Y-axis at 450 between (-X) & (Z) axis. Calcu

What is a bode plot and what are i''s uses, Q. (i) What are the different t...

Q. (i) What are the different types of plots for frequency response in an RC coupled amplifier?     (ii) What is a Bode Plot? What are it's uses? The different types of

What is barkhausen criterion, Q. What is Barkhausen criterion? Why is the v...

Q. What is Barkhausen criterion? Why is the value of Ab kept slightly greater than 1? The condition |Ab| = 1 is called the Barkhausen criterion. It implies that when |Ab| = 1,

Visual presentation of an electrical network, Visual Presentation of an Ele...

Visual Presentation of an Electrical Network: The second layer corresponds to the distribution network coverage. The low voltage system and customer supply points along with l

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