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

Antinoise systems — noise cancellation, Q. Antinoise Systems — Noise Cancel...

Q. Antinoise Systems — Noise Cancellation? Traditionally sound-absorbing materials have been used quite effectively to reduce noise levels in aircraft, amphitheaters, and other

Determine the motor current and speed, A dc series motor is connected to a ...

A dc series motor is connected to a load. The torque varies as the square of the speed.With the diverter-circuit open, the motor takes 20 A and runs at 500 r/min. Determine the mot

Briefly explain about phasor method, Q. Briefly explain about Phasor Method...

Q. Briefly explain about Phasor Method? For sinusoidal excitations of the same frequency, the forced or steady-state responses are better found by the technique known as the ph

Name the various magnetically hard alloys, Name the various magnetically ha...

Name the various magnetically hard alloys. Several of the magnetically hard materials are rare earth carbon steel, cobalt, tungsten steel, alnico, hard ferrites and cobalt stee

For zero flag - conditional jumps , For  Zero  Flag JZ ( Jump on Ze...

For  Zero  Flag JZ ( Jump on Zero) and JNZ ( jump on no zero ) Instruction JZ  transfer  the  execution of the program to the  speciffed address if zero  flag is set (Z=

OSILATOR, COULD U INTERDUCE AN OSILATOR THAT MAKES TRIANGULAR AND SIN WAVE?...

COULD U INTERDUCE AN OSILATOR THAT MAKES TRIANGULAR AND SIN WAVE?

Sources of power dissipation in cmos logic, Describe the three main sources...

Describe the three main sources of power dissipation in CMOS logic. Hence calculate the power dissipated in a CMOS ASIC of 40,000 gates operating at a frequency of 133MHz with a s

True / false , filt is a circuit that cantains onely passive components

filt is a circuit that cantains onely passive components

Applied mechanics, State whether Lamis theorem is applicable for more than ...

State whether Lamis theorem is applicable for more than three coplanar concurrent forces?

Find the t- domain forced response, Consider an RLC series circuit excited ...

Consider an RLC series circuit excited by v(t) = Ve st in the time domain. Assume no initial capacitor voltage or inductive current at t = 0. Draw the transformed network in the s

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