LESSON 1:
The Basic Organization of Computers
In this chapter . . .
You will learn about
The basics of computer How computer’s main
01 system organization and the 02
memory is organized.
stored program concept.
Types of instructions for a Scale and performance
03 04
typical processor. factors.
Electronic Digital
Computers
processor system input/output system
based on stored
• CPU • input/output devices
program design
• memory • secondary storage
Central Processing Unit
Manages the instruction-execution cycle
FETCH – DECODE – EXECUTE
Coordinates the activities of other devices
❖(fast access) storage device for
preserving binary data and instructions
❖memory is divided into units or words
❖each is usually a standard size or fixed-
length
❖each memory word has a unique
address for random access
Main Memory
The CPU and Main Memory
Inside the CPU
memory
memory data
address register
register
accumulator
(work
instruction register)
register
program arithmetic
system logic unit
counter clock
FETCH the instruction
1.
WEAKNESS
Address of the next instruction is
transferred from PC to MAR.
2.
The instruction is located in memory.
THREATS
3.
Instruction is copied from memory to
MDR.
DECODE the instruction
WEAKNESS
1.
Instruction is transferred to and
decoded in the IR.
THREATS
OPPORTUNITIES
EXECUTE the instruction
WEAKNESS
1.
Control unit sends signals to
appropriate devices to cause execution
THREATS of the instruction.
OPPORTUNITIES
Types of
Processor
Operations
➢ moving data from memory to
the CPU
➢ moving data from memory to
memory
➢ input and output
Data Movement
Operations
Arithmetic and
Logical Operations
➢ integer arithmetic
➢ comparing two quantities
➢ shifting, rotating bits in a quantity
➢ testing, comparing, and converting bits
➢ starting a program
➢ halting a program
➢ skipping to other instructions
➢ testing data to decide whether to skip
over some instructions
Program Control
The AMD Athlon𝑻𝑴 XP Processor
Modern computer systems are
driven by processors fabricated
using very large-scale integration.
Scale and Performance Factors
➢Single-user computer systems
✓ personal digital assistants (PDAs)
✓ laptops, notebook computers
✓ desktop computer systems
✓ workstations
➢Multiuser computer systems
Scale and Performance Factors
STUDY WELL! – Sir IT ☺