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

What is internal structure of 8086, 8086 is having 2 dissimilar units i.e. ...

8086 is having 2 dissimilar units i.e. BIU(Bus Interface Unit) and EU(Execution Unit), these two units work synchronously.

Which steps are used for the procurement, Q. Which Steps are used for the p...

Q. Which Steps are used for the procurement? a. Initially, an introductory letter may be sent addressed to The Head, NRSA Data Centre, National Remote Sensing Agency, Balanagar

What is program counter, Program counter holds the address of either the fi...

Program counter holds the address of either the first byte of the next instruction to be fetched for implementation or the address of the next byte of a multi byte instruction, whi

Disaster management, role of electrical engineer in disaster management

role of electrical engineer in disaster management

Description of the program counter and the data pointer, Questions: a) ...

Questions: a) Give a brief description of the program counter and the data pointer, including their differences. b) Briefly describe what are Byte-Level logical operations

Working of a linear variable differential transformer, Illustrate the const...

Illustrate the construction and principle of working of a linear variable differential transformer. Describe how the magnitude and direction of displacement of core of LVDT is dete

Power angle and performance characteristics, Q. Power Angle and Performance...

Q. Power Angle and Performance Characteristics? The real and reactive power delivered by a synchronous generator, or received by a synchronous motor, can be expressed in terms

Why ce configuration is widely used in amplifier circuits, Q. Why CE config...

Q. Why CE configuration is widely used in amplifier circuits? The main ability of an transistor lies in amplifying weak signals. The transistor cannot alone perform this functi

Applications of semiconductors, Applications of Semiconductors Inte...

Applications of Semiconductors Integrated circuits (ICs) SSI, MSI, LSI, and VLSI. Fluorescent materials used in TV screens II-VI (ZnS). Light detectors InSb, CdSe, Pb

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