Input output interface-microprocessor, Assembly Language

I/O interface

I/O  devices such as displays and keyboards  establish  communication of computer with outside world. Devices may be interfaced in 2 ways Memory mapped I/O and I/O MAPPED I/O. In I/O mapped I/O, device is recognized with a unique device number and data are transferred thru IN/OUT instruction. Memory mapped I/O each device is recognize with 16 bit address. I/O devices are considered as a part of memory related instruction and memory is used for data transfer.

An I/O interface might be able to

o    To Determine whether or not it is being interfaced

o   To Determine whether it has to send data to CPU or receive data from CPU

o   For Send ready signal informing CPU that transfer is over

o   For Send interrupt Requests to CPU and receive interrupt acknowledgement and send an interrupt type.

An Interface may be divided into 2 parts and a. A part that interfaces to the system bus  and a part that interfaces to the I/O device. There might be receivers  and drivers to maintain signal quality, logic for translating the interface control signals to proper handshaking signals, logic for decoding address that seem on the bus.

Handshaking signals are utilized to determine in which direction transfer has to take place whether to CPU or from CPU. It should determine whether it is a WRITE or READ operation. Interrupt signals also might be handled here.

Address decoder determine whether it is Memory mapped I/O and I/O mapped I/O from one of the bits. If the decoder find that an interface is referenced it sends signal to the suitable device.

Interfaces may be categorized according to the way I/O devices transfer data either in parallel or serial form.

 

Posted Date: 10/10/2012 6:22:29 AM | Location : United States







Related Discussions:- Input output interface-microprocessor, Assignment Help, Ask Question on Input output interface-microprocessor, Get Answer, Expert's Help, Input output interface-microprocessor Discussions

Write discussion on Input output interface-microprocessor
Your posts are moderated
Related Questions
AAS: ASCII Adjust AL After Subtraction AAS instruction correct the result in the AL register after subtracting operation of two unpacked ASCII operands. The result is in unpacked

SUB: Subtract :- The subtract instruction subtracts the source operand from destination operand and result is left in the destination operand. Source operand might be memory locati

Write a MC68HC12 assembly language program to average ten 16-bit values that are stored starting at address $1100. Place the two-byte result at $1110. Use indexed addressing. Us

Type of Microprocessor : Microprocessors fall into 3 categories: Single Chip Microcomputers: - Contains RWM, ROM, microprocessor, I/O port, timer and clock. General pu

INTO : Interrupt on Overflow:- It is executed, when the overflow flag OF is set. The new contents of IP and CS register are taken from the address 0000:0000 as described in INT

assembly language program to find larges number in an array

write an assembly program to display triangular star like shape

A/D conversion: Basic tasks: (a) Write a program that will read and display the analog voltage on pin PE7 approximately once every second. (b) Write a program that will read and d

Write an application that does the following:(1) fill an array with 50 random integers; (2) loop through the array, displaying each value, and count the number of negative values;

Entering a Program In this section, we will explain the procedure for entering a small program on IBM PC with DOS operating system. Assume a program of addition of 2 bytes, as