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

Explain graphics adapters, Explain graphics adapters. Video card conve...

Explain graphics adapters. Video card converts digital output by the computer in an analog video signal and sends the signal by a cable to the monitor also termed as a graphic

What do you mean by frequency response, Q. What do you mean by Frequency re...

Q. What do you mean by Frequency response? Now let us examine the response of a circuit to a sinusoidal source, called an oscillator, whose frequency can be varied.Known as the

Explain the term assembler directives, Explain the term assembler directive...

Explain the term assembler directives. An assembler directive is a statement to provide direction to the assembler to execute the task of assembly process. These assembler dire

What are the advantages of digital cameras, What are the Advantages of digi...

What are the Advantages of digital cameras Advantages of digital cameras over manual cameras include: no processing costs (As there is no need to develop film or make prints),

What is the value of the lsb resistor, Q. For a 10-bit R-2R ladder-network ...

Q. For a 10-bit R-2R ladder-network D/A converter with an MSB resistor value of 10 k, what is the value of the LSB resistor?

Transformers, determine the efficience of a 16 KVA transformer for the full...

determine the efficience of a 16 KVA transformer for the full-load,unit power factor

Transfer characteristics of p-channel enhancement mosfet, Q. Explain the dr...

Q. Explain the drain and transfer characteristics of P-channel enhancement MOSFET. In p-channel enhancement MOSFET here is a n-type substrate and p doped regions under drain an

Data copy operations, Data Copy Operations Instructions which  are used...

Data Copy Operations Instructions which  are used  to copy data from  one location to another  location kept in  this category. The location from  which data  is copied  is cal

Clampers, just to put an assignment Give only short details that are impor...

just to put an assignment Give only short details that are important Specially bised clamper

Pdc, disadvantages of shunt&series clippers

disadvantages of shunt&series clippers

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