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
D Flip Flop As we have seen  in the SR flip flop  when the inputs  S= R  are applied the forbidden or indeterminate state occurs.  This state can destabilize the SR file flop.

Q. A transistor is connected in common emitter configuration collector supply voltage Vcc is 10 volts load resistance Rl is 800ohm,voltage drop across load resistance is 0.8v and c

Q. Illustrate Frequency-shift keying? Digital transmission by FSK is a nonlinear modulation method that is appropriate for channels that lack the phase stability needed to perf

what is strain gage

Q. What are the different types of Patrolling? When these are adopted? What are points to be considered while preparing the charts? Ans.- Types of Patrolling. 1. Keyman's

Explain cache structure in Pentium. Cache structure in Pentium: The cache in the Pentium has been changed by the one determined in the 80486 microprocessor. The Pentium has t

Explain the Power Transmission Lines Transmission and distribution of electric power is accomplished by using overhead lines or underground cables. Overhead lines are normally

Binary Subtraction Negative numbers are represented in 2 complement form and subtraction is also  per formed  using  2 complement  method in microprocessor. Hence we will  dis

Q. What are transistor amplifiers? What is meant by efficiency of an amplifier? What is amplifier coupling? The AMPLIFIER is a device that enables an input signal to control an

Q. Illustrate Breakpoint Analysis? When a circuit consists of two or more ideal diodes, it will have several distinct operating conditions resulting from the off and on states