OUT Output Instruction , Electrical Engineering

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.

 

Posted Date: 4/4/2013 6:00:39 AM | Location : United States







Related Discussions:- OUT Output Instruction , Assignment Help, Ask Question on OUT Output Instruction , Get Answer, Expert's Help, OUT Output Instruction Discussions

Write discussion on OUT Output Instruction
Your posts are moderated
Related Questions
Q. (a) Draw the logic diagram of the enabled D latch using only NAND gates. (b) Complete the timing diagram of Figure (a) of theDlatchwhose block diagram and truth table are giv

transfer function of Lube Oil Cooler Temperature


Determine power reflection coefficient at the input port: For the MESFET equivalent circuit shown below, find S 11 and S 22 . Note that resistances associated with the voltag


Voltage  and Frequency Control Methods In this  control  method the ratio of voltage  to frequency is kept constant so that the  flux  remains  constant. The voltage  at varia

Normal 0 false false false EN-IN X-NONE X-NONE

Q. Important function of common control subsystem? If a call is destined to a number in an exchange other than present one processing the digits, initial translator generates t

Energy Conservation Our country has a vast potential of energy saving. It is estimated in which measures for energy conservation and improving energy efficiency have the pote

what is the difference between statically and dynamically induced emf''s