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

Determine the circuit of three transistors dynamic ram cell, a. Determine t...

a. Determine the circuit of three transistors dynamic RAM cell and define briefly read and write functions. b. Write short note on factors influencing choice of layer for wiring

Literature review on co2 positive displacement pump, Ask question introduc...

Ask question introduction of co2 single stroke positive displacement pump using cam and follow system to transfer co2 into small cylinders

Show n-channel depletion mode mosfet, Q. For a transistor, when v GS = -2....

Q. For a transistor, when v GS = -2.0 V, find V DSsat if Vp= -4.0 V for an n-channel depletion mode MOSFET. Solution: V p = -(V DSsat + v SG ) but  v SG = -v GS = -(-

Circuit 1, draw a graph of V=IR for R=300ohms over the domain -3mA

draw a graph of V=IR for R=300ohms over the domain -3mA

Determine the transformer winding currents, Q. Three single-phase 100-kVA, ...

Q. Three single-phase 100-kVA, 2400:240-V, 60-Hz transformers (each ofwhich has an equivalent series impedance of 0.045+j0.16 referred to its low-voltage side) are connected to fo

Explain global positioning systems, Q. Explain Global Positioning Systems? ...

Q. Explain Global Positioning Systems? Modern communication systems abound in practice: cellular phones, computer networks, television satellites, and optical links for telepho

Show that the force exerted on each charge, Q. Consider two 1-C charges sep...

Q. Consider two 1-C charges separated by 1 min free space. Show that the force exerted on each is about one million tons.

Strain gauge bridge circuit, Explain kinds of strain gauge bridge circuits ...

Explain kinds of strain gauge bridge circuits and resistance strain gauges.

Principals applied in product design, What are the broad principals that wi...

What are the broad principals that will be applied in product design to facilitate automated assembly ?

What do you mean by quartz crystals, Q. What do you mean by Quartz crystals...

Q. What do you mean by Quartz crystals? Synthetic quartz is composed of Silicon and Oxygen (Silicon Dioxide) and is cultured in autoclaves under high pressure and temperature.

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