Beruflich Dokumente
Kultur Dokumente
CPU
4 basic operations:
Fetch – obtain a
program instruction or
data item from memory
Decode - translate the
instruction into
commands
Execute - carry out the
command
Store - write the result to
memory
Arithmetic and Logic Unit
Comparison
(greater than, equal
to, or less than)
Arithmetic Logical
(addition, subtraction, (AND, OR,
multiplication, and NOT)
division)
Arithmetic and Logic Unit
Performs the execution part of the machine cycle
CPU
e-time i-time
Example
A student
Step 1: The
2:
3:
4: enters
ALU
control
a
mathdecodes
control
unit
executes
results
problem
of
unit
the
the math
the
into
the memory
fetches
problem
math problem
the math
ofare
and
the
computer
problem
sends
stored itinto
from
memory
the ALU
memory
The result in
memory displays
on the screen of
the monitor
Memory
Volatile memory
volatile Memory
Loses its contents when the
nonvolatile
Loses its contents memory
computer's power is turned off
when the computer's
power is turned off Does not lose its
contents when the
computer’s power
is turned off
Memory
2 basic types of RAM chips
Dynamic RAM (DRAM) Static RAM (SRAM)
Also called main memory Used for special
Most common type applications such as
Variations: cache
Faster and more
Synchronous DRAM reliable than DRAM
(SDRAM)
chips
Double data rate SDRAM
(DDR SDRAM or SDRAM II)
Only on newer
• Not used on older computers with L2
Level 3 (L3) advanced transfer cache
computers
Cache on motherboard
Read Only Memory (ROM)
Fixed start-up instructions
BIOS
Read-only Non-volatile (basic input/output
system)
Stored on ROM
Types of ROM
Firmware
ROM chips
manufactured with PROM
permanently
(programmable EEPROM
written data,
read-only (electrically
instructions, or
memory) Blank erasable
information
ROM on which programmable read-
you can place only memory)
items A type of PROM
permanently containing
microcode that a
programmer can
erase
Flash Memory
Nonvolatile EEPROM memory that
can be erased and reprogrammed
Stores data and programs on many
handheld computers and devices
CMOS Memory
Flexible start-up
instructions
Complementary
metal-oxide Stores configuration
semiconductor information about
memory the computer Uses a battery
• Disk drives to retain the
information
• Keyboard
when the
• Monitor computer is
• Time/ date turned off
What are the different
CPU Architectures
RISC vs CISC Architecture
CISC
(complex instruction set
computing) RISC
Supports a large
(reduced instruction
number of instructions set computing)
Reduces instructions
CPU executes complex
instructions more to only those used
quickly more frequently
CPU executes simple
instructions more
quickly
Parallel Processing
Multiple processors
simultaneously execute a
program
Requires special
software to divide up a
problem and bring the
results back
How can different CPUs be
compared
Clock Speed
MIPS
FLOPS
What factors affect CPU
speed
Registers
Cache Memory
System and I/O Bus
Computer’s Clock
Name common
microprocessors
Intel
AMD
Pentium® (Intel-
Pentium® II compatible) Motorola
with Alpha
MMX™ Duron™ PowerPC
AMD-K6® Used in
Celeron™ Used in workstations
Xeon™ Athlon™ Apples and high-end
Itanium™ with 3DNow!
servers
™
Used in PCs
Used in PCs
Difference between a
microprocessor and
microcontroller
Microcontroller is a complete
microprocessor system (CPU, RAM,
ROM, I/O) on a chip
Microprocessor requires other devices
Which (microprocessor or
microcontroller) are more
common