OUT Output Instruction , Electrical Engineering

Assignment Help:

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.

 


Related Discussions:- OUT Output Instruction

What is microprocessor, Write short notes of the following. a)    Microproc...

Write short notes of the following. a)    Microprocessor b)    Modes of data transfer. c)    I/O processor d)    Associative memory e)    Software and Hardware interrupt

How oscillations start up in an oscillator, Q. How oscillations start up in...

Q. How oscillations start up in an oscillator?  The noise voltage produced due to the random motion of electrons in resistors or in active devices provides the starting voltage

Zener diodes, At what value of electric field at a junction does zener brea...

At what value of electric field at a junction does zener breakdown takes place

Voltage doubler, Voltage Doubler: The network of Fig. is a half wave v...

Voltage Doubler: The network of Fig. is a half wave voltage doublers. During the positive voltage half cycle across the transformer, secondary diode D 1 conducts, charging ca

The electrical circuit sign convention, The Electrical Circuit sign convent...

The Electrical Circuit sign convention Notice that current leaves a source at its high potential (positive) terminal but enters a load at its high potential (positive) ter

Derive lames equation for a thick cylinder, Derive Lame's equation for a th...

Derive Lame's equation for a thick cylinder subjected to internal pressure with clean diagrams. Evaluate the maximum and minimum hoop stresses across the section of a pipe of400

Explain the meaning of amplitude modulation, a. Explain the meaning of ampl...

a. Explain the meaning of amplitude modulation? Show that the AM output having two sidebands and the carrier frequency. b. Illustrate that the equivalent parallel impedance of a

Calculate the minimum analog output voltage, Q. For a 6-bit weighted-resist...

Q. For a 6-bit weighted-resistor D/A converter, if R is the resistor connected to the MSB, find the other resistor values needed, and calculate the maximum analog output voltage, t

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd