Beruflich Dokumente
Kultur Dokumente
Data Manipulation
0-2
Computer Architecture -
0-3
Computer Architecture
Central Processing Unit
(CPU) or processor
Arithmetic/Logic unit
versus Control unit
Registers
General purpose (Data
registers, address
registers)
Special purpose PC, IR
2007 Pearson Addison-Wesley. All rights reserved
0-4
BUS
Control lines These
allow the CPU to control
which operations the
devices attached should
perform, I.E. read or
write.
Address lines
Allows the CPU to
reference certain
(Memory) locations
within the device.
Data lines
The meaningful data
which is to be sent or
retrieved from a device is
placed on to these lines.
2007 Pearson Addison-Wesley. All rights reserved
0-5
0-6
0-7
Terminology
Machine instruction: An instruction (or
command) encoded as a bit pattern
recognizable by the CPU
Machine language: The set of all instructions
recognized by a machine
0-8
0-9
0-10
0-11
0-12
0-13
0-14
0-15
0-16
0-17
Program Execution
Controlled by two special-purpose registers
Program counter: address of next instruction
Instruction register: current instruction
Machine Cycle
Fetch
Decode
Execute
0-18
0-19
0-20
0-21
0-22
0-23
Arithmetic/Logic Instructions
10011010
11001001 AND
10001000
10011010
11001001 OR
11011011
10011010
11001001XOR
01010011
0-24
0-25
0-26
Controller
Communication between a computer and other devices
is normally handled through an intermediary apparatus
known as a controller.
The controller connects via cables to peripheral devices
within the computer case or perhaps to a connector,
called a port.
0-27
Controller
A controller translates messages and data back and forth
between forms compatible with the internal
characteristics of the computer and those of the
peripheral device to which it is attached.
Originally, each controller was designed for a particular
type of device; thus, purchasing a new peripheral device
often required the purchase of a new controller as well.
0-28
0-29
0-30
0-31
0-32
0-33
Handshaking
Communication between two devices needs agreement
form both the devices. e.g. if we need to transfer data
from one device to another then both the devices
involved in data transfer should agree about this data
transfer. Thus Constant two way dialogue between
devices is known as handshaking.
0-34
Communication Media
Parallel
Serial
The transfer of digital data over telephone lines is
accomplished by first converting bit patterns into
audible tones by means of a modem (short for
modulator-demodulator), transferring these tones
serially over the telephone system, and then converting
the tones back into bits by another modem at the
destination.
2007 Pearson Addison-Wesley. All rights reserved
0-35
Communication Media
DSL (Digital Subscriber Line), which takes advantage
of the fact that existing telephone lines are capable of
handling a wider frequency range than that used by
traditional voice communication. More precisely, DSL
uses frequencies above the audible range to transfer
digital data while leaving the lower frequency spectrum
for voice communication. Other technologies that
compete with DSL include cable, as used in cable
television systems, and satellite links via radiobroadcast.
2007 Pearson Addison-Wesley. All rights reserved
0-36
Communication Rates
The rate at which bits are transferred from one
computing component to another is measured in bits per
second (bps). Common units include
Kbps (kilo-bps, equal to 1000 bps), Mbps (megabps, equal to 1 million bps),
Gbps (giga-bps, equal to1 billion bps). (Note the
distinction between bits and bytes-that is, 8 Kbps is
equal to 1 KB per second.
In abbreviations, a lowercase b usually means bit
whereas an uppercase B means byte.)
2007 Pearson Addison-Wesley. All rights reserved
0-37
Communication Rates
Multiplexing the encoding or interweaving of data so
that a single communication path serves the purpose of
multiple paths.
Bandwidth indicates the capacity to carry information
or data.
0-38
Other Architecture
Pipelining
A technique
microprocessors where the
executing a second instruction
completed.
Pipelining can be viewed as a
processing.
used
in
advanced
microprocessor begins
before the first has been
first step toward parallel
0-39
Other Architecture
0-40
Other Architecture
0-41
Other Architecture
Multiprocessor
MIMD (multiple-instruction stream, multiple-data
stream)
SISD (single-instruction stream, single-data stream)
0-42
Review
Concept of instruction
Basics of computer architecture
- Von Newmann architecture model
- Roles of memory, CPU(control unit, ALU,
Registers), Bus, I/O
- Decoding of instructions
- Machine cycle (Control unit performs its job)
2007 Pearson Addison-Wesley. All rights reserved
0-43
0-44