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

Compute force vector, Q. Consider a current element I 1 d ¯l 1 = 10 dz ¯a...

Q. Consider a current element I 1 d ¯l 1 = 10 dz ¯az kA located at (0,0,1) and another I 2 d ¯ l 2 = 5dx ¯ax kA located at (0,1,0). Compute d ¯F 21 and d ¯F 12 experienced by

Electronics, #What are the types of Negative Feedback Amplifier?

#What are the types of Negative Feedback Amplifier?

Determine the advantages of e-nrz over nrz, 1. A modi?ed NRZ code known as ...

1. A modi?ed NRZ code known as enhanced-NRZ (E-NRZ) operates on 7-bit words; invert- ing bits 2,3,6 and 7; and adding one parity bit to each word. The parity bit is chosen to make

Role of a bus arbiter in a multiprocessor configuration, Discuss the role o...

Discuss the role of a bus arbiter in a multiprocessor configuration. Bus arbiter: It functions to resolve priority among bus masters and permits only one device at a time to

Explain the advantage of synchronous counters, Explain the Advantage of Syn...

Explain the Advantage of Synchronous Counters? The most significant advantage of synchronous counters is that there is no cumulative time delay because all flip-flops are trigg

State fleming''s right-hand rule, Fleming's Right-hand rule states: Let ...

Fleming's Right-hand rule states: Let the thumb, first finger and second finger of the right hand be extended such that they are all at right angles to every other. If the first

Compute the voltage, Q A point charge Q 1 =-5 nC is located at (6, 0, 0). ...

Q A point charge Q 1 =-5 nC is located at (6, 0, 0). Compute the voltage v ba between two points a(1, 0, 0) and b(5, 0, 0). Comment on whether point a is at a higher potential wi

Dc motors, i dont understand why equalizer connection is not used in wave w...

i dont understand why equalizer connection is not used in wave windings?

Impedance / DUTT, 3) The impedance for a 120 km, 230-kV line is given as j ...

3) The impedance for a 120 km, 230-kV line is given as j 0.9 ohm/km and j 0.6 ohm/km for self and mutual terms respectively; resistance is neglected. The mho characteristic for the

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