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

Find the corresponding energy, Q. Consider a pair of coupled coils as shown...

Q. Consider a pair of coupled coils as shown in Figure of the text, with currents, voltages, and polarity dots as indicated. Show that the mutual inductance is L 12 = L 21 = M by

Define shunt capacitors and reactors, Define Shunt Capacitors and Reactors ...

Define Shunt Capacitors and Reactors Shunt capacitors absorb leading VArs (i.e. they are used to supply lagging VArs) whereas reactors are used to absorbs lagging VArs. Capacit

Jfet applications, how is it possible to operate Q3 with no dc drain? where...

how is it possible to operate Q3 with no dc drain? where is the dc operating point?

Merits and demerits of collector-to-base bias, Merits and Demerits of Colle...

Merits and Demerits of Collector-to-base bias: Merits: In this type of circuit the circuit stabilizes the operating point against differences in temperature and β (that i

What is tunnel effect and applications of tunnel effect, What is tunnel eff...

What is tunnel effect? Discuss the Alpha decay as an example of tunnel effect. Prove that tunneling increases on decreasing the height and width of the barrier. Explain what do you

Tariff filing, Tariff Filing Asset-wise details for each business ...

Tariff Filing Asset-wise details for each business of licensee; Audited accounts and financial statements, including cash flows for the preceding years and monthly bal

Clipper, merits amd demerits of series and shunt clipper

merits amd demerits of series and shunt clipper

Explain rotameter and hot wire anemometer, Write down about the following t...

Write down about the following terms: (i) Pirani Gauge (ii) Rotameter (iii) Hot wire Anemometer (iv) Drag Force Flow Meter

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