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

Standard color-coded bands for evaluating resistance, Standard Color-Coded ...

Standard Color-Coded Bands for Evaluating Resistance Practical resistors are manufactured in standard values, various resistance tolerances, several power ratings (as will be e

Draw the impedance diagram of the system, The one line diagram of a simple ...

The one line diagram of a simple power system is shown below.  The data of the system are given in the table below.  (a) Draw the impedance diagram of the system and mark all im

What is memory paging, What is memory paging? The memory paging mechan...

What is memory paging? The memory paging mechanism located inside the 80386 and above permits any physical memory location to be assigned to some linear address.

Sketch the idealized bode plot, Q. Sketch the idealized (asymptotic) Bode p...

Q. Sketch the idealized (asymptotic) Bode plot for the transfer function Find the angular frequency at which H(ω) is 0dB and the angular frequency at which θ(ω) = -60°.

Describe in brief how email system works, Describe in brief how email syste...

Describe in brief how email system works Following is a simple description of how email system works: -  Sender composes a message (and attaches a file if required) and send

Two converters - boost-buck (cuk) and flyback, Design two converters - boos...

Design two converters - boost-buck (Cuk) and flyback meeting the following criteria: Vin = 15 V ... 35 V    Vout = 25 V Output voltage ripple 1% peak to peak Switching frequen

Explain the configuration of a step-by-step switching system, With neat dia...

With neat diagrams explain the configuration of a step-by-step switching system. Schematic diagram for such an exchange is given in Figure.  Every subscriber is connected to a

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