



























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Dr. Bilva Vineet delivered this lecture at Aligarh Muslim University as a part of Programming and Computer Architecture course. Its main points are: Input, Output, Design, Organization, CPU, Modules, RAM, Interface, Generic, Model, External
Typology: Slides
1 / 35
This page cannot be seen from the preview
Don't miss anything!




























^ The Figure below shows a simple arrangement forconnecting the processor and the memory in agiven computer system to an input device and anoutput device. ^ A single bus consisting of the required address,data, and control lines is used to connect thesystem's components.
^ There exists a big difference in the rate at which aprocessor can process information and those ofinput and output devices. ^ A simple way of communication between theprocessor and I/O devices, called the
I/O protocol
requires the availability of the input and outputregisters. A mechanism according to which the processor canaddress those input and output registers must beadopted. More than one arrangement exists to satisfy theabove mentioned requirements.
Input Instruction
at an input
device address will cause the character stored inthe^ Input Register
of that device to be transferred to a specific register in the CPU. Similarly, the execution of an
Output Instruction
at
an output device address will cause the characterstored in a specific register in the CPU to betransferred to the
Output Register
of that output
device. This arrangement is called
Shared I/O.
and^ Output Registers
as if they are
regular memory locations. In this case, a
Read^ operation from the address corresponding to the
Input Register
of an input
device, e.g.,
Read Device6,
is equivalent to
performing an
Input Operation
from the input
register in Device #6. Similarly, a
Write^ operation to the address corresponding to the
Output Register
of an output
device, e.g.,
Write Device9,
is equivalent to
performing an
Output Operation
into the output
register in Device #9. This arrangement is called
Memory-Mapped I/O
. docsity.com
©Javaid Khurshid
^ Example of an 8 I/O device connection to a processor