OUT Output Instruction , Electrical Engineering

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.

 

Posted Date: 4/4/2013 6:00:39 AM | Location : United States







Related Discussions:- OUT Output Instruction , Assignment Help, Ask Question on OUT Output Instruction , Get Answer, Expert's Help, OUT Output Instruction Discussions

Write discussion on OUT Output Instruction
Your posts are moderated
Related Questions
Q. Show the r-1s Complement? Subtract every digit of the number from r-1 (the radix of the system - 1)ex.             952 10

Q. Show how a 16-to-1 multiplexer can be used to implement the logic function described by the following truth table.

Q. What is RingTopology? In ring topology, all user nodes are connected with physical path acting as links of a chain and last user node is connected back to the first node. A

Q. What do you mean by Digital Building Blocks? Whereas a continuous change from one value to another is the essential characteristic of an analog signal and continuous-state (

Finance and Accounting in KPI Every business is completed to earn some profit and it is the underline concept. The main tasks are to manage the finances efficiently to meet th

Structure and use of PNP transistor: The figure opposite is a schematic presentation of a PNP transistor related to two voltage sources. To construct the transistor conduct ap

We now have an equation for the magnetic field H at a distance r from a conductor carrying a current I amps And Ampere's experiments show that the force per unit lengthbetw

what is power factor of generator at overexcitation

Q. A voice message with W f = 2π(3×10 3 ) rad/s and Wrms = 2π(1 × 10 3 ) rad/s is transmitted over an FM broadcast system with standard emphasis. and compare the improvements due

Visual Presentation of an Electrical Network: The second layer corresponds to the distribution network coverage. The low voltage system and customer supply points along with l