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

Trivalent impurity to a semiconductor, Addition of trivalent impurity to a ...

Addition of trivalent impurity to a semiconductor creates many (A) Holes. (B) Free electrons. (C) Valance electrons. (D) Bound electrons. Ans: Addition o

Half-wave rectifier, Half-wave rectifier: A half-wave rectifier will j...

Half-wave rectifier: A half-wave rectifier will just only give one peak per cycle and for this reason and other reasons is only employed in extremely small power supplies. A f

Drawing, #question what are the types of lines used there and their applica...

#question what are the types of lines used there and their application ..

Explain about direct-current machines, Q. Explain about Direct-current mach...

Q. Explain about Direct-current machines? Generally speaking, conventional dc generators are becoming obsolete and increasingly often are being replaced by solid-state rectifie

Speed control of three phase induction motors , Speed  Control of Three  ...

Speed  Control of Three  Phase Induction Motors Three  phase  induction motors are invariably used in the application where in speed in  required to be  constant  or adjustabl

Planned and coordinated development - rural electrification, Planned and co...

Planned and coordinated development: The CEA would prepare the global Electricity Plan after carefully carrying out the demand forecast in consultation along with stakeholders

Bias compensation, How is bias compensation in transistor is done using the...

How is bias compensation in transistor is done using thermistors and sensistor

Calculate k for n-channel enhancement mosfet, Q. An n-channel enhancement M...

Q. An n-channel enhancement MOSFET operates in the active region with very large V A , v GS = 6V, V = 4 V, and i = 1 mA. Calculate K.

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