Processing Unit
Processing Unit
Processing Unit
Computer Organization
and Architecture
8th Edition
Chapter 12
CPU Structure
and Function
CPU Structure
• CPU must:
—Fetch instructions
—Interpret instructions
—Fetch data
—Process data
—Write data
CPU With Systems Bus
CPU Internal Structure
Registers
• CPU must have some working space (temporary storage)
Called registers.
• Number and function of register vary between processor
designs.
• It is one of the major design decisions of processor.
• It is at top level of memory hierarchy.
• Two Types of registers:
1) User-visible registers: Enable the machine/assembly
language programmer to minimize main memory
references by optimizing use of registers.
2) Control & status registers: Used by the control unit
to control the operation of processor and by privileged,
operating system programs to control the execution of
programs.
User Visible Registers
Enable the machine- or assembly language programmer
to minimize main memory references by optimizing use
of registers.