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

Sketch the timing diagram for a 4-bit ripple counter, Q. Sketch the timing ...

Q. Sketch the timing diagram for a 4-bit ripple counter which uses T flip-flops.

Determine the magnitude of the current, Determine the magnitude of the curr...

Determine the magnitude of the current: For the circuit of Figure below determine the magnitude of the voltage "drops" across each resistor R1 - R7. Determine the magnitude

The resistance of an electrical conductor, The resistance of an electrical ...

The resistance of an electrical conductor depends on 4 factors, these being:   a)  The length of the conductor   b)  The cross-sectional area of the conductor

Single Phase Induction Motor, How do I connect a Capacitor on the machine i...

How do I connect a Capacitor on the machine if it has a start mechanism

Determine the armature current and torque angle, Q. Determine the armature ...

Q. Determine the armature current and torque angle? A 1500-hp, 6600-V, six-pole, 60-Hz, three-phase, wye-connected, synchronous motor, with a synchronous reactance of 36 , neg

Find the small-signal equivalent circuit parameters, Given that a BJT has β...

Given that a BJT has β = 60, an operating point defined by I CQ = 2.5 mA, and an Early voltage V A = 50 V. Find the small-signal equivalent circuit parameters g m , r o , and rπ.

Evaluate a single-stage transistor amplifier, Design and using Pspice, eval...

Design and using Pspice, evaluate a single-stage transistor amplifier amplifier to meet the following specifications: * Power supply - 12V dc. · *Voltage gain - 120 when Vin

Signals in noise, Signals in Noise: Let us now consider a weak informat...

Signals in Noise: Let us now consider a weak information signal that is to be amplified by a noisy amplifier. The signal-to-noise ratio (SNR), usually expressed in decibels, be

EDC, What is hall effect?

What is hall effect?

Vacancy, i just want to know any vacant in teaching side. Iam interested in...

i just want to know any vacant in teaching side. Iam interested in taking online classes

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