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
For Carry Flag  RC (Return of Carry) and RNC ( Return on no Carry) Instruction RC returns from  the subroutine  to the calling  program if carry  flag is et (CY= 1). The

Q. Explain the applications of emitter follower. Because of high input impedance and low output impedance an emitter follower is capable of transferring maximum power from the

Establish the relationship between duty ratio and output voltage

Define addressing modes of 8085. a) Immediate addressing b) Register addressing c) Direct addressing d)  Indirect addressing e)  Implicit addressing

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

Q. A silicon diode is forward-biased with V = 0.5 V at a temperature of 293 K. If the diode current is 10 mA, calculate the saturation current of the diode.

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

Magnetic permeability and the B/H curve To measure the relationship between field strength H and flux density B for a material, a sample is made into a closed ring and a magne

Q. What do you mean by Conditional selection? Conditional selection: When a marker is instructed to create a connection from a given incoming trunk to a given outgoing trunk, t

Q. A JK flip-flop is shown in Figure (a). (a) Modify it to operate like the D flip-flop of Figure (b). (b) Modify the JK flip-flop to operate like the T flip-flop of Figure (