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. What is Autotransformers? In contrast to a two-winding transformer, the autotransformer is a single-winding transformer having a tap brought out at an intermediate point. Th

Q. Explain biased and double clipper circuits.   Clipper can be either forward biased or reverse biased. If a battery is connected in series with the diode in a positi


Q. What is power gain? Power gain is the ratio of power delivered to the load to power delivered to the amplifier is the power gain. A p =P o /P i     =V o I o /V i I s

Q. Determine L and C of the band reject filter circuit of Figure to have a center frequency of 100 kHz and a bandwidth of 5 kHz. Also find the Q of the filter.

Note transducers  convert a physical quantity from one  form to another.  The case below illustrates a typical moving coil meter   that   converts   a   current into a mechanical a

compound generator drawback

Q. Open-circuit and load characteristics of generator? The open-circuit and load characteristics of a separately excited dc generator, along with its schematic diagram of conne

PNP The other kind of BJT is the PNP with the letters "P" and "N" standing for the majority charge carriers inside the dissimilar regions of the transistor. Figure:

Briefly explain single mode and multimode fibres The optical fibres were categorized within two according to the number of modes it passes as: • Single mode fibres • Multi mode