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

Determine power gain, Q. An antenna has an aperture area of 10 m 2 ,an ape...

Q. An antenna has an aperture area of 10 m 2 ,an aperture ef?ciency of 0.6, and negligible losses. If it is used at 5 GHz, determine: (a) Its power gain. (b) The maximum pow

Calculate the voltage, 1. The circuit is: A circuit which lights a LED w...

1. The circuit is: A circuit which lights a LED when a voltage is above 14 volts and flashes the LED (at about 1 Hz) below 10 Volts. The circuit should also continuously sounds

Electrons and holes, E l e c t r ons and Holes For T> 0 K, t...

E l e c t r ons and Holes For T> 0 K, there would be some electrons in the otherwise empty conduction band, and some empty states in the otherwise filled valence ban

Describe about boltzmann constant, Q. Describe about Boltzmann constant? ...

Q. Describe about Boltzmann constant? The constant η in Figure (b) stands for the noise power spectral density, expressed in terms of power per unit frequency (W/Hz). Statistic

Followings are some disadvantage , Followings  are some  disadvantage ...

Followings  are some  disadvantage a.   Higher latching and holding  current b.Higher  on state  voltage  drop and power  losses c.Higher  gate  current d.Higher  gat

Bjt, what is compensation of bjt

what is compensation of bjt

Value of current if resistance connected to the battery, One battery having...

One battery having of eight cells in parallel. Emf and internal resistance of every cells is 1.5V and 0.4Ω. Find the value of current if an external resistance of 5Ω is connected t

Define instruction cycle, Define instruction cycle and T-state Instruct...

Define instruction cycle and T-state Instruction cycle is defined, as the time needed completing the execution of an instruction. Machine cycle is defined as the time needed co

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