Input output interface-microprocessor, Assembly Language

Assignment Help:

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.

 


Related Discussions:- Input output interface-microprocessor

Pointer(ptr)-assemblers directive-microprocessor, PTR : Pointer:- The p...

PTR : Pointer:- The pointer operator which is used to declare the type of a variable, label or memory operand. The operator PTR is prefixed by either WORD or BYTE. If the prefi

Program translation sequence, Program Translation Sequence Developing ...

Program Translation Sequence Developing a software program to accomplish a particular task, the implementer chooses an appropriate language, develops the algorithm (a sequence

Program for dispaying lcd characters, #include"lcd.asm"       ; assembly fi...

#include"lcd.asm"       ; assembly file is included for displaying lcd characters Main: PORTA EQU 0xF80  ; PORTS PORTB EQU 0xF81 PORTC EQU 0xF82 PORTD EQU 0xF83 R

Program to add contents in memory-machine level programs, Example : Add th...

Example : Add the contents of the 2000H: 0500H memory location to contents of 3000H: 0600H and store the result in 5000H: 0700H. Solution : Unlike the past example progra

Calculator, how to add 111 and 333 in assembly language

how to add 111 and 333 in assembly language

Aad-arithmetic instruction-microprocessor, AAD: ASCII Adjust for Division ...

AAD: ASCII Adjust for Division though the names of these 2 instructions (AAM and AAD) seem to be same, there is many difference between their functions. The AAD instruction conver

LAB homework, 1. Write a program that calculates the Fibonacci series: 1, 1...

1. Write a program that calculates the Fibonacci series: 1, 1, 2, 3, 5, 8, 13, ….. (Except for the first two numbers in the sequence, each number is the sum of the preceding two n

Instructions, Difference between div and idiv

Difference between div and idiv

Write a mips assembly language program, Write a MIPS/SPIM assembly language...

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

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