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

Amper circuital lw, the plot of amper circuital law by using matlap?

the plot of amper circuital law by using matlap?

Collector-to-base bias, Collector-to-base bias: Figure: Collec...

Collector-to-base bias: Figure: Collector-to-base bias This configuration uses negative feedback to avoid thermal runaway and stabilize the operating point. In th

Determine the apparent power and the reactive power, Q. A balanced electric...

Q. A balanced electrical industrial plant load of 9.8 MW with 0.8 lagging power factor is supplied by a three-phase 60-Hz system having a maximum rating (load-carrying capacity) of

Explain cascading of multiple pics 8259, Explain cascading of multiple PICS...

Explain cascading of multiple PICS 8259.  The 8259A adds 8 vectored priority encoded interrupts to the microprocessor. It can be expanded to 64 interrupt requests by using one

Mov instruction, MOV Instruction Op code  format  of MOV  instruction i...

MOV Instruction Op code  format  of MOV  instruction is as follows : Replace the  codes of destination register and source  register with code of  required  register from.

Querying the gis, Querying the GIS: Interfaces which use the querying...

Querying the GIS: Interfaces which use the querying facility are available with the RDBMS. In the network-mapping environment, these give accurate and reliable information to

Combinational-sequential, Design combinational-sequential electronic logic ...

Design combinational-sequential electronic logic gate circuit for a car wash....

Electrical machine, what happens when we apply DC supply to transformer pri...

what happens when we apply DC supply to transformer primary

Define the operation of real mode interrupt, Define the operation of real m...

Define the operation of real mode interrupt. Operation of Real mode interrupt: While the microprocessor completes executing the current instruction, this determines whether a

Applications of thermodynamics, what are the applications of thermodynamics...

what are the applications of thermodynamics in Electrical Engineering?

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