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. Illustrate Computer-controlled routing? Computers are employed in network with common channel signaling (CCS) features. In CCS, there is a separate computer-controlled signa

How does Expert system works? System uses a rule base and an inference engine together to simulate human reasoning whenever analysing a problem and arriving at a conclusion. To

design SR latch with universal logic gates.draw and explain the logic diagrams

How many interrupts does 8085 have, mention them The 8085 has 5 interrupt signals; they are INTR, RST7.5, RST6.5, RST5.5 and TRAP

Q. A60-Hz, three-phase transmission line has a total per-phase series impedance of 35+j140 .Ifit delivers 40 MW at 220 kV and 0.9 power factor lagging, find: (a) The voltage, c

Why does digital signal processing require specialized hardware? A) It needs to perform analog as well as digital functions. B) General-purpose microprocessors cannot perfor


1. Write a MATLAB program to generate and plot the signal x1(n) = [3 2 -2 0 7], n = 0,1,2,3,4.

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