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

What is meant by wait state, What is meant by Wait State? This state is...

What is meant by Wait State? This state is used by slow peripheral devices. The peripheral devices can transmitted the data to or from the microprocessor by using READY input l

What are the disadvantages of using robots, What are the Disadvantages of u...

What are the Disadvantages of using robots -  They can find it difficult to deal with 'unusual' circumstances for example a door is missing from a car waiting on the paint spra

Determine the armature e.m.f. and load angle of generator, A 3-phase, wye-c...

A 3-phase, wye-connected, 11 kV, 137.5 MVA turbo-alternator of 0.8 power factor lagging has a synchronous reactance XS = 1.4 Ω. Assume the machine to be ideal for convenience of an

Achieving reforms goals using gis applications, Achieving reforms goals usi...

Achieving reforms goals using GIS applications: GIS could help in achieving the above reforms goals through various applications: •  Creation of consumer database and cons

Explain the operation of n-channel fet, Q. Explain the operation of N-chann...

Q. Explain the operation of N-channel FET? Transistor is a linear semiconductor device that controls current with the application of a lower-power electrical signal. Transistor

Emitter follwer, Ask questertion #Minimum 100 words accepted#

Ask questertion #Minimum 100 words accepted#

Marginal tax rate, Stratos Corporation is a privately held tablet semicondu...

Stratos Corporation is a privately held tablet semiconductor technology firm with bright growth prospects.The past 5 years have seen the firm evolve from a pure startup to a profit

Apparatus for BCD to excess 3, Apparatus for BCD to excess 3 convertor usin...

Apparatus for BCD to excess 3 convertor using nand and nor gates

Evaluate the available received power, (a) Some antennas have a physical ap...

(a) Some antennas have a physical aperture area A that can be identified and is related to the effective area A e by A e = ρ a A, where ρ a is known as the aperture efficiency.

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