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

Trivector meter, Trivector Meter A trivector meter is designed to reco...

Trivector Meter A trivector meter is designed to record active, reactive and apparent energy along with MD indicators on all. The trivector meter is a compact unit.  It exchan

Indirect addressing , Indirect Addressing In this  addressing  mo e al...

Indirect Addressing In this  addressing  mo e also ne  of the  operands is the  stored in the memory. The memory  address of the  operand  is specified  by the  register pair.

Speed control of stepper motor by using microcontroller 89c5, Hello sir, m ...

Hello sir, m engineering final year student, we made a project as I mentioned above, I wanna add some extra feature on it, meant to modified it...want to add up some extra feature

Show principal source of energy, Q. Show Principal source of energy? Th...

Q. Show Principal source of energy? The principal source of energy comes from the burning of fossil fuels such as coal and oil to generate steam, which drives steam turbines, w

Define time constant, Time constant Time constant, defines as time for ...

Time constant Time constant, defines as time for current achieve maximum (IM) if this maintain the early promotion rate current.

What do you mean by dial pulses, Q. What do you mean by Dial Pulses? D...

Q. What do you mean by Dial Pulses? Dial Pulses: Dial pulsing (many times known as rotary dial pulsing) is the method originally used to transfer digits from a telephone set

Demonstrate the circuits operation , OBJECTIVES Use an NXT to control ...

OBJECTIVES Use an NXT to control the speed of a DC fan motor. You will us a potentiometer to set the speed and the second fan motor as feedback. Use the circuit from Lab 1 to

Triac - power semiconductor devices , Triac  As the  name  suggests T...

Triac  As the  name  suggests TRIAC  is advice which  has three  electrodes and works  on AC.  The three terminals of triac are MTI ( Main Terminal ) MT2 ( Main  terminal ) an

Objective of long-term plans for technical loss reduction, Objective of Lon...

Objective of Long-Term Plans for Technical Loss Reduction The primary objectives of strengthening and improvement of sub-transmission and distribution system in the long-term

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