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

Interpretation and analysis using remote sensing, Q. Interpretation and ana...

Q. Interpretation and analysis using remote sensing? Interpretation and analysis using remote sensing Various characteristics of a river can be understood by studying its planf

What do you mean by capacitance, Q. What do you mean by Capacitance? An...

Q. What do you mean by Capacitance? An ideal capacitor is an energy-storage circuit element (with no loss associated with it) representing the electric-field effect. The capaci

What are synchronous decade counters, What are Synchronous Decade Counters?...

What are Synchronous Decade Counters? Alike to an asynchronous decade counter, the synchronous decade counter counts from 0 to 9 and then recycles to 0 again, This is done by

Find the hysteresis loss in watts, Q. A sample of iron having a volume of 2...

Q. A sample of iron having a volume of 20 cm is subjected to a magnetizing force varying sinusoidally at a frequency of 400 Hz. The area of the hysteresis loop is found to be 80 cm

Illustrate the working of ujt, Q. Explain, with the help of structure, the ...

Q. Explain, with the help of structure, the working of UJT? List its applications One of the oddest semiconductor devices in use is the unijunction transistor (UJT). As its nam

Torque-Speed Characteristics of 3-Phase Induction Motors, Torque-Speed Char...

Torque-Speed Characteristics of 3-Phase Induction Motors

Explain implicit data addressing mode, Explain implicit data addressing mod...

Explain implicit data addressing mode (with examples) available in microprocessors. Implicit Mode: Does not exactly give an operand. Instruction implicitly gives the o

Branch operations , Branch Operations Normally  the program  executes ...

Branch Operations Normally  the program  executes in  a sequence. The contents of the program counter register are incremented by  one during  the execution  of current  instr

Electrical machine, transformer voltage induced in armatur of ac commentato...

transformer voltage induced in armatur of ac commentator machin in case tha field flux in sinosoidal?..

Find the current and voltage at input terminals of the line, Q. A source of...

Q. A source of impedance ¯ Z S = R S = 100  has an open-circuit voltage v S (t) = 12.5 cos ωot and drives a 75- transmission line terminated with a 75- load. Find the current

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