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

Find the current flow through resistor using norton theorem, Use Norton Th...

Use Norton Theorem, find the current flow through resistor R=10Ω.

Deviations from purchasing power parity, Q. Does the existence of non-trada...

Q. Does the existence of non-tradable goods allow for deviations from Purchasing Power Parity? Answer: Yes the continuation of non-tradable goods permits deviations from Purch

Generation of wide-band fm, Generation ofwide-band FM can be done by vario...

Generation ofwide-band FM can be done by variousmeans.However, only themost common and conceptually the simplest one, known as the direct method, is considered here. It employs a

Explain atomic structure and energy band diagram of silicon, Explain Atomic...

Explain Atomic structure and Energy Band Diagram of Silicon. Silicon : It is other most commonly used semiconductor. Atomic number of it is 14. The no. of electrons in first,

Explain dielectric constant, Explain Dielectric constant. Dielectric co...

Explain Dielectric constant. Dielectric constant: This is also termed as 'Permittivity'. All insulating material possesses an electrical capacitance. Such capacitance of unit d

Explain the transfer characteristics, Q. Explain the transfer characteristi...

Q. Explain the transfer characteristics in a few words ? The transfer characteristics are a plot of an output (or a drain) current versus an input controlling quantity. There i

Explain the working of frequency division, Explain the Working of Frequency...

Explain the Working of Frequency Division? A frequency divider able to be constructed from J-K flip-flops by taking the output of one cell to the clock input of the next and th

Geographic information system, Geographic Information System: Geograph...

Geographic Information System: Geographic Information System (GIS) is a computer system capable of assembling, manipulating, storing, and displaying geographically referenced

Cma complement accumulator instruction, CMA Complement Accumulator  Instru...

CMA Complement Accumulator  Instruction Complement the  contents of the accumulator  i e the   accumulator  al once are converted zeros  and all zeros  are converted to  ones.

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