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
An electroscope charged WITHOUT contacting a charged body is charged by: a) Induction b) Conduction c) Convection d) Insulation Ans: An electroscope char

Determine RMS and average value: Determine RMS and average value of the output of half wave rectifier. Solution The waveform of current, output of the half wave rectif

Convolution :   (i) Express this function in terms of kernel coefficients and convolve with image class.png, (x,y are coordinates of pixels) Io(x,y)=I(x+1,y)-2*I(x,y)+I(x-1,

Q. Elucidate the process of inter-register signalling. Ans: Registers are used in common control exchanges to store as well as analyze routing data. They are provided on a

Magnetic materials


Give some applications of constantan. Constantan is an alloy of nickel and copper. It is used in thermocouples, motor starters and precision resistors.

Q. Show how the conservation of power is satisfied by the circuit of Figure.

Q.   In a 110V compound generator, the armature, shunt and series winding resistance are 0.06?, 25? and 0.04? respectively. The load consists of 200 lamps each rated 55W, 110V conn

Technology Options for Metering Energy meters classically consist of an energy measurement apparatus for measuring energy consumption and a gauge in which is visible outside t