OUT Output Instruction , Electrical Engineering

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.

 

Posted Date: 4/4/2013 6:00:39 AM | Location : United States







Related Discussions:- OUT Output Instruction , Assignment Help, Ask Question on OUT Output Instruction , Get Answer, Expert's Help, OUT Output Instruction Discussions

Write discussion on OUT Output Instruction
Your posts are moderated
Related Questions
Stakeholders - Legal Requirements for Distribution licensees There have to be consultations among several stakeholders such as the licensees, the governments, consumers, gener

Q. Digital watches display time by turning on a certain combination of the seven-segment display device. (a) Show a typical seven-segment display. (b) Develop a truth table f


Q. A particular BJT has a nominal value of α 0.99. Calculate the nominal β.If α can easily change ±1%, compute the percentage changes that can occur in β.

Memory map of tpa in a personal computer and explain such of the areas in brief

Active-mode NPN transistors in circuits Figure:  Structure and use of NPN transistor. Arrow according to schematic. The figure opposite is a schematic presentation

In a certain chemical-processing plant, a liquid chemical is used in a manufacturing process. The chemical is stored in three different tanks. A level sensor in each tank produces

Using a levitation coil, you levitate a conductive object in the magnetic field and heat within that field. I have 2 sample report and I would like you to write some thing similar

Q. Important function of common control subsystem? If a call is destined to a number in an exchange other than present one processing the digits, initial translator generates t