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

Grounding and shielding used in electronic instruments, Q.   How and why ar...

Q.   How and why are the grounding and shielding used in electronic instruments? Sol. In electronic instruments grounding and Shielding techniques are available in order to a

Projects, I want project ideas.

I want project ideas.

Comparison between analog and digital storage oscilloscopes, The advantage ...

The advantage of the analog storage oscilloscope is that it has higher bandwidth and writing speed than a digital oscilloscope, being capable of operating speeds of about 15 GHz. T

Show schematic arrangement of one- dimensional addressing, Q. Show the sche...

Q. Show the schematic arrangement for: (a) one- dimensional addressing, and (b) two-dimensional addressing, if a 32-kbit ROM is used to provide an 8-bit output word.

Circuit 1, draw a graph of V=IR for R=300ohms over the domain -3mA

draw a graph of V=IR for R=300ohms over the domain -3mA

Rms values, 1. Derive the necessary formula/method to determine the effect...

1. Derive the necessary formula/method to determine the effective value or RMS of a triangular wave. Use either a similar method to the class example of the RMS determination

#titleclipper diode.., Ask quedisadvantages stion #Minimum 100 words accept...

Ask quedisadvantages stion #Minimum 100 words accepted#

Explain thermoplastic materials, Explain Thermoplastic materials. Ther...

Explain Thermoplastic materials. Thermoplastic materials: The properties of such plastic materials do not change considerably when they are melted and after that cooled and s

Antinoise systems — noise cancellation, Q. Antinoise Systems — Noise Cancel...

Q. Antinoise Systems — Noise Cancellation? Traditionally sound-absorbing materials have been used quite effectively to reduce noise levels in aircraft, amphitheaters, and other

Example of binary subtraction - positive number , Example  of binary  sub...

Example  of binary  subtraction - positive number Case 1.   Positive  number is more than negative number ( i e, answer is positive)   Example   subtract  4510 ( 1011012

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