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
Design a logic circuit with 4 inputs A, B, C & D that will produce output ‘1’ only whenever two adjacent input variables are 1’s. A & D are also to be treated as adjacent, impleme

A three-phase, 34.5-kV, 60-Hz, 40-km transmission line has a per-phase series impedance of 0.2+j0.5/km. The load at the receiving end absorbs 10 MVA at 33 kV. Calculate the follow

what are the classifications of fixed resistor?explain

An interrupt which can be never be turned off (ie. disabled) is called as Non-Maskable interrupt.

Q. A single-phase industrial plant consists of two loads in parallel: P1 = 48kW PF1 = 0.60 lagging P2 = 24kW PF2 = 0.96 leading It is operated from a 500-V, 60-Hz source.

Q. Draw a 100 line exchange using two motion selectors and elucidate, how switching takes place in it. Ans: In a 100 line exchange, every subscriber is assigned a 2 digit

Reverse Recovery Characteristics At the end of forward  conduction in diode  reverse current  flows for  a short  time. The  device  doesn't  attain its full blocking  capabili


how fet transistor works in self bias