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

Show implementation of synchronous counter using d flip-flop, Q. Consider t...

Q. Consider the synchronous counter shown in Figure of the text. (a) Draw its timing diagram. (b) Show the implementation of the same synchronous counter using D flip-flops.

Different types of dc generation, Q.   What are the different types of dc g...

Q.   What are the different types of dc generation according to the ways in which fields are excited. Show the connection diagram of each type. Ans. Types of D.C.

Binary subtraction , Binary Subtraction Negative numbers are represent...

Binary Subtraction Negative numbers are represented in 2 complement form and subtraction is also  per formed  using  2 complement  method in microprocessor. Hence we will  dis

Principle of three-phase synchronous machines, Q. Principle of Three-phase ...

Q. Principle of Three-phase synchronous machines? In fact, with very few exceptions, three-phase synchronous machines are most commonly used for power generation. In general, t

What is idss, Q. What is Idss. What are the conditions for its maximum valu...

Q. What is Idss. What are the conditions for its maximum value? The term 'Idss' refers to saturation condition of the Drain current. From the above graph it's clear that as the

Determine the location and the value of the point charge, Q The electric ?e...

Q The electric ?eld intensity due to a point charge in free space is given to be (-¯ ax -¯ ay +¯ az)/√ 12V/mat (0,0,1) and 6 ¯ az at (2,2,0) Determine the location and the value

Voltage divider bias, Voltage divider bias: The voltage divide...

Voltage divider bias: The voltage divider is made by using external resistors R 1  and R 2 . The voltage beyond than R 2  forward biases the emitter junction. Via prop

Transformer-coupled amplifiers, Q. Transformer-coupled Amplifiers? Tra...

Q. Transformer-coupled Amplifiers? Transformer-coupled Amplifiers: The figure illustrates another type of coupling often used to couple audio frequencies - the untuned transf

Nor gate - introduction to microprocessors , NOR Gate NOR means NOT OR ...

NOR Gate NOR means NOT OR . it complements the  output  of an OR  gate.  The symbol  of Nor  gate in fig. (a) shows that a Nor  gate  comprises  of an OR  gate followed  by a N

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