William Stallings Computer Organization and Architecture
William Stallings Computer Organization and Architecture
Computer Organization
and Architecture
Chapter 1
Introduction
Architecture & Organization 1
• Computer architecture
—Logical aspects of system implementation as seen by
the programmer.
—E.g., instruction sets, instruction formats, data types,
addressing modes.
— How do I design a computer?
• Computer organization
—Encompasses all physical aspects of computer
systems.
—E.g., circuit design, control signals, memory types.
— How does a computer work?
Architecture & Organization 2
• There is no clear distinction between matters
related to computer organization and matters
relevant to computer architecture.
• Principle of Equivalence of Hardware and Software:
—Anything that can be done with software can also
be done with hardware, and anything that can be
done with hardware can also be done with
software.*
Peripherals Computer
Central Main
Processing Memory
Unit
Computer
Systems
Interconnection
Input
Output
Communication
lines
Structure - The CPU
CPU
Computer Arithmetic
Registers and
I/O Login Unit
System CPU
Bus
Internal CPU
Memory Interconnection
Control
Unit
Structure - The Control Unit
Control Unit
CPU
Sequencing
ALU Login
Control
Internal
Unit
Bus
Control Unit
Registers Registers and
Decoders
Control
Memory
Elements of a Computer System
• A computer system consists of three basic
elements
—Processing units (processors)
– Executes instructions in a program
– A processor has an architecture that determines the form
and sequence of instructions
– A processor has an organization that explains how
circuits are organized
Elements of a Computer System (2)
—Memory
– The storage area in which programs are kept
when they are running and that contains the data
needed by the running programs
– The architecture of a memory defines the
methods by which data may be taken from and
placed in the memory
– Structure of the elements that the memory hold
– The organization of a memory defines it’s
physical structure , the physical layout of data
elements into memory units
Elements of a Computer System (3)
• Input/Output (I/O)
– The I/O architecture defines the form and
conventions that must be used in a program in order
to move elements between I/O devices and memory
– The I/O organization defines structure of an I/O
subsystems, how functions are distributed between
the elements, the various speeds of different
elements
Elements of a Computer System (4)
Memory
Processor