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

Mr, what is pole core and pole shoe in a dc machine

what is pole core and pole shoe in a dc machine

What are wired and wireless transmission systems, What are wired and wirele...

What are wired and wireless transmission systems?  Transmission Systems: Modern long distance transmission systems can be placed under three main categories: 1.  Radio Sy

Introduction to power systems, Q. Introduction to power systems? Thomas...

Q. Introduction to power systems? Thomas A. Edison's work in 1878 on the electric light led to the concept of a centrally located power station with distributed electric power

Determine the Service and Backwash Rates, Determine the Service and Backwas...

Determine the Service and Backwash Rates The system on site is a pressure sand filter, with a service curve. The filter is backwashed using the feed pump, at a higher flow rate, s

Explain operation modes of programmable interval timer 8254, Explain modes ...

Explain modes of operation of programmable interval timer 8254. Mode 0 - Interrupt upon terminal count Mode 1 - Programmable one-shot Mode 2 - Rate Generator Mode 3 -

Carry flag - sub subtract instruction , Carry Flag CY is  reset  as e...

Carry Flag CY is  reset  as explained  above.  ( in chapter 1 we have  sen in the 2 complement  methods of subtraction that  the carry  is set  when the result is positive. He

Explain the effect of feedback on amplifier bandwidth, Q. Explain the effec...

Q. Explain the effect of feedback on amplifier bandwidth? The bandwidth of an amplifier is defined as the range of frequencies for which the gain remains constant.The gain -ban

What are plastics, What are plastics? Plastics are materials (containi...

What are plastics? Plastics are materials (containing carbon as common element) that have organic substances of high molecular weight and are able of being formed in required

Mixed bonding, Mixed Bonding Displayed by III-V compounds bonding p...

Mixed Bonding Displayed by III-V compounds bonding partly ionic and partly covalent. Ionic character of bonding becomes much more prominent since the constituent atoms m

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