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
CALL : Unconditional Call:- This instruction is utilized to call a subroutine from a basic program. In case of assembly language programming, the term procedure is utilized int

write an assembly language program to find average of odd numbers from an array of 8 bit numbers

i have a question.

Interrupt When the CPU detects an interrupt signal, it stops activity of current and jumps to a special routine, known an interrupt handler. This handler then detects why the i

Write a MIPS/SPIM assembly language program that prints the smallest and largest values found in a non-empty table of N word-sized integers. The address of the first entry in your

check the al-register for palindromic number

define accounting.briefly explain the accounting concepts which guide the accountant at the recording stage.

init_lcd                        ;(this initialises a 2 row lcd)     bcf     TRISA,0             ;PORTA bit 0 as an output (lcd RS pin)     bcf     TRISA,1             ;PORTA bit 1

1- Write an assembly program that:   a- Defines an array of 10 (word type)elements;   b- Finds out the number of negative elements   c- Calculate the summation of the posi

Need help with 2 homework assignments