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

Auto transformer, winding turns of 415v step down transformer on 50%, 60% &...

winding turns of 415v step down transformer on 50%, 60% & 80% tapping

What is permeability, What is Permeability? Permeability: This is defin...

What is Permeability? Permeability: This is defined as the ability of the material to conduct flux. This is defined as the ratio of magnetic flux 'B' in a medium to the magneti

For carry flag - conditional jumps , For carry Flag JC (  jump on  Ca...

For carry Flag JC (  jump on  Carry ) and JNC (Jump  on No carry ) Instructions : JC transfer the  execution of the  program to the  specified memory  address if  carry

Dual trace and dual beam cro, what is difference between dual trace and dua...

what is difference between dual trace and dual beam cro?

Logic diagram, design and sketch an optimal circuit that takes a 4 bit num...

design and sketch an optimal circuit that takes a 4 bit number and generates an 8 bit output equal to the square of the input

Examples of attribute data relevant for a power utility, Examples of attrib...

Examples of attribute data relevant for a power utility: Examples of attribute data relevant for a power utility are given below. •          Consumer data such as categor

The city and guild electrical systems design task A and B, The city and gui...

The city and guild electrical systems design task A and 2365-305 Do you have these two assignments to sell ?

Speed control of dc shunt motor - motor control , Speed Control of DC Shun...

Speed Control of DC Shunt Motor V dc   the output of rectifying circuit which is  applied to the motor field  as shown  in figure  for armature voltage V dc   is controlled by

General purpose registers, General  Purpose  Registers Registers B, C...

General  Purpose  Registers Registers B, C ,D, E H , and L   are 8 bit  general  purpose  registers. These  registers store  8 bit  data  temporarily  for processing. Some

Why hard magnetic materials are used, Hard magnetic materials are used for ...

Hard magnetic materials are used for making (A) Permanent magnets. (C) Conductors. (B) Insulator. (D)Temporary magnets. Ans: Hard magnetic materials are

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