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.



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
A coil of inductance 0.04 H and resistance 10? is connected to a 120 V, d.c. supply. Verify (a)  The final value of current     (b)  The time constant of the circuit (c)

What is the difference between the unit step function u(n+4) and the time-scaled function u(2n+8)

The goal of this project is to model a system and to design a controller for the system so that the closed-loop system performs satisfactorily.

Obtain v(t) in the circuit of Figure by using the Laplace transform method.

Q. Explain the Importance of distributing frames? Basically four levels of cabling are used as displayed in Figure. At the subscriber end, drop wires are taken to a distributio

What is Logic Gates? The Logic Gates are circuits made up of transistors, diodes, and resistors. The Logic gates process one or more input signals in a logical fashion. Dependin

Q. What do you mean by Most and least significant digits? The MSD (most significant digit) in a number is the digit which represents the largest part of the number. Therefore i

Q. Determine v o /v i for the circuit shown in Figure if the op amps are ideal.

1. The circuit shown below is a DC charging and discharging circuit. a. At t = 0 sec, switch S1 is thrown to position 1 ("pos1"). Write the mathematical expressions for V

Consider the circuit of Figure and obtain the complete solution for the voltage v C (t) across the 5-F capacitor and the voltage vx(t) across the 5- resistor.