The Role of Computer Peripherals Peripherals/Computer Connections
The Role of Computer Peripherals Peripherals/Computer Connections
The Role of Computer Peripherals Peripherals/Computer Connections
Address Comparator
It is necessary to distinguish between adapters used for different
peripherals.So a value is allocated to the adaptor (Often set with switches
or jumpers).
An adaptor may recognize a single address or a small group of
address.
It compares the address on the address bus with the peripheral
adapter’s address.
If the address on the bus matches that of the adapter then the control
lines are interpreted by the control logic to perform the required
function, typically to read from or write to a register (may be data
register) connected to a data bus.
PA Registers( Cont....)
Control Register
Stores values written to it to control the operation of the
adaptor.
Status Register
Can be read by the CPU to determine the status of the
device (e.g. whether it is ready for use, busy, switched
on/off etc.)
Each piece of information stored in the control and status
registers usually needs only a single bit and several such
bits are stored in each register, each bit is often known as
a flag.
Data Register
Used to hold temporarily a value to be transferred to or
from the peripheral so that it is not necessary to
synchronize the computer with the peripheral.