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

Define the gauss seidel method, Define the Gauss Seidel Method The Gaus...

Define the Gauss Seidel Method The Gauss-Seidel method is an iterative method in which the voltage of each node is calculated in turn using the most up to date voltages for the

State the principle of operation of a capacitor, a. Describe why a three-ph...

a. Describe why a three-phase induction motor rotates always with a speed less than the synchronous speed. b. State the principle of operation of a capacitor start single-phase

Resetin input - externally initiated signals , RESETIN  Input It is a...

RESETIN  Input It is an  active  low signal when  it goes low program counter is  reset to zero and busses are tri stated  it also reset interrupt enable flip flop  and instruc

Circuit with inductive load, Circuit with inductive load  Electromagnet...

Circuit with inductive load  Electromagnetic induction When a conductor is moved across a magnetic field so as to cut by the lines of force (or flux, an electromotive force

Define some applications of digital counters, Define some Applications of D...

Define some Applications of Digital Counters? Digital counters are extremely useful in many applications. They can be effortlessly found in digital clocks and parallel-to-seri

Explain braking mode of rotating machines, Q. Explain braking mode of rotat...

Q. Explain braking mode of rotating machines? The braking mode has both mechanical and electric energy input. The total input is dissipated as heat. The machine is driven by th

Need of microphone in telephone hand set, Q. Need of Microphone in telephon...

Q. Need of Microphone in telephone hand set? Microphone: For all practical purposes, microphone is transmitter for telephone. The microphone converts acoustical signals in the

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

Find the expressions for the inductor current, Consider the RL circuit of F...

Consider the RL circuit of Figure with R = 2, L = 5H, and v(t) = V = 20 V (a dc voltage source). Find the expressions for the inductor current i L (t) and the inductor voltage v L

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