William Stallings Computer Organization and Architecture 8 Edition
William Stallings Computer Organization and Architecture 8 Edition
Computer Organization
and Architecture
8th Edition
Chapter 1
Introduction
Computer Architecture
• Those attributes visible to the
programmer OR
• Those attributes that have a direct
impact on the logical execution of a
program.
—Instruction set, number of bits used for data
representation (e.g., numbers, characters),
I/O mechanisms, addressing techniques.
—e.g. Is there a multiply instruction?
Computer Organization
• Read operation
• Write operation
Operation (c) Processing from/to storage
Example application?
Operation (d)
Processing from storage to I/O
Peripherals Computer
Central Main
Processing Memory
Unit
Computer
Systems
Interconnection
Input
Output
Communication
lines
Structural Components of Computer
• Central processing unit (CPU): Controls the operation
of the computer and performs its data processing
functions; often simply referred to as processor.
• Main memory: Stores data.
• I/O: Moves data between the computer and its
external environment.
• System interconnection: Some mechanism that
provides for communication among CPU, main
memory, and I/O.
• A common example of system interconnection is by means
of a system bus, consisting of a number of conducting wires
to which all the other components attach.
Structure - The CPU
CPU
Computer Arithmetic
Registers and
I/O Login Unit
System CPU
Bus
Internal CPU
Memory Interconnection
Control
Unit
Structural Components of CPU
• Control unit: Controls the operation of the CPU and
hence the computer
• Arithmetic and logic unit (ALU): Performs the
computer’s data processing functions
• Registers: Provides storage internal to the CPU
• CPU interconnection: Some mechanism that provides
for communication among the control unit, ALU and
registers
Structure - The Control Unit
Control Unit
CPU
Sequencing
ALU Login
Control
Internal
Unit
Bus
Control Unit
Registers Registers and
Decoders
Control
Memory