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 priority interrupts of 8085, Explain priority interrupts of 8085. ...

Explain priority interrupts of 8085. The 8085 microprocessor has five interrupt inputs. They are TRAP, RST .5, RST 6.5, RST 5.5, and INTR. These interrupts have a fixed prio

Transformer, Ask questiochan #Minimum 100 words accepted# characteristics o...

Ask questiochan #Minimum 100 words accepted# characteristics of transformer

Explain idiv instructions in 8086 family, Explain IDIV instructions in 80...

Explain IDIV instructions in 8086 family with example and their effect on flag. IDIV: It used to divide a 16-bit signed number with an 8-bit signed no. or 32 bit signed numb

What is a darlington pair, Q. What is a darlington pair?               ...

Q. What is a darlington pair?                             The Darlington circuit consists of two cascaded emitter followers with infinite emitter resistance in the first stage.

Determine the equivalent resistance of circuit, Determine the equivalent re...

Determine the equivalent resistance of circuit: Determine the equivalent resistance of network across the source terminals and find the current drawn from the source.

Explain basic working of transport layer, Q. Explain basic working of Trans...

Q. Explain basic working of Transport Layer? It is responsible for establishing a network independent communication path appropriate for the specific terminal equipments (for exa

Explain working of single-phase induction motors, Q. Explain working of Sin...

Q. Explain working of Single-Phase Induction Motors? For reasons of simplicity and cost, a single-phase power supply is universally preferred for fractional-horsepower motors.

DECISIEN FEEDBACK, Do you provide me matlab code for comparison the perfor...

Do you provide me matlab code for comparison the performance of decision feedback equalizer over MLSE

Assinment, Ask question #Minimum mechanism of microwave communication 100 w...

Ask question #Minimum mechanism of microwave communication 100 words accepted#

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