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

Two-level system - princeton, Conceive a system composed of a very large nu...

Conceive a system composed of a very large number N of distinguishable atoms at rest and mutually noninteracting, each of which has only two (nondegenerate) energy levels:0,ε>0 Let

Clippers, dis advantage of series clippers?

dis advantage of series clippers?

Zener breakdown voltage, (a) For the Zener diode series voltage regulator s...

(a) For the Zener diode series voltage regulator shown in the Figure. calculate V L , I Z , V R and P Z for R L = 1.2 KΩ and repeat it for R L = 3 KΩ ? Consider Zener breakdow

With the help of the structures explain lcd, Q. With the help of the struct...

Q. With the help of the structures explain LCD. A liquid crystal display (LCD) is a thin, flat display device made up of any number of color or monochrome pixels arrayed in fro

Find the current in circuit, Q. (a) Determine the voltage at A in Figure...

Q. (a) Determine the voltage at A in Figure . (b) With V i = 10 V, R 1 = 10 k, R 2 = 1000 , and A = 100, find the current i .

What are the display devices, Q. What are the Display Devices? Display ...

Q. What are the Display Devices? Display devices can be categorized as on/off indicators, numeric, alphanumeric, or graphical displays. They may also be classified as active an

Field-effect transistor, Field-Effect Transistor: The field-effect tra...

Field-Effect Transistor: The field-effect transistor that is abbreviated as FET relies on an electric field to control the shape and therefore the conductivity of a channel of

What do you mean by negative clamper, Q. What do you mean by Negative Clamp...

Q. What do you mean by Negative Clamper? During the positive half cycle the diode conducts and acts like a short circuit. The capacitor charges to peak value of input voltage V

Bcd to excess 3 code converter, What are the industrial applications of the...

What are the industrial applications of the project bcd to excess 3 code converter?

Multiplexing 64-to-1 by using four 16-to-1 multiplexers, Q. Show an arrange...

Q. Show an arrangement for multiplexing 64-to-1 by using four 16-to-1 multiplexers and one 4-to-1 multiplexer.

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