The Central Processing Unit: What Goes On Inside The Computer
The Central Processing Unit: What Goes On Inside The Computer
Chapter 4
Objectives
The CPU
The CPU
Control Unit: CU
Logical operations
Equal-to condition
Less-than condition
Greater-than condition
Secondary storage
Long-term storage
Stored on external medium, such as a disk
Registers
Special-purpose
High-speed
Temporary storage
Located inside CPU
Instruction register
Status Register
Data register
Holds data waiting to be
processed
Holds results from processing
Memory
10
Memory Addresses
Referred to by number
11
Data Representation
12
Representing Data
Bit
Byte
Word
13
Bit
14
Byte
A group of 8 bits
15
Word
16
Storage Sizes
17
Executing Programs
Fetch
CU gets an instruction
Decode
CU decodes the instruction
Execute
CU notifies the appropriate part of hardware to
take action
Control is transferred to the appropriate part of
hardware
Task is performed
Store
Control is returned to the CU
18
Instruction time
Execution time
System clock
synchronizes operations
20
Instruction Time
21
Execution Time
22
23
System Clock
24
Example
25
Coding Schemes
Common Schemes
ASCII
EBCDIC
Unicode
26
ASCII
27
EBCDIC
28
Unicode
29
Motherboard
Storage devices
30
Motherboard
31
Storage Devices
32
Microprocessor
33
Transistors
34
Types of Chips
Other processors
35
Memory Components
Semiconductor Memory
RAM and ROM
Flash Memory
36
Semiconductor Memory
37
Types:
Packaged on circuit
boards
38
Static RAM
39
Dynamic RAM
40
Read-Only Memory
41
Flash Memory
Nonvolatile RAM
42
Bus speed
43
Bus Width
44
Bus Speed
45
Expansion Buses
46
Expansion Boards
Connect to expansion
slots on motherboard
Used to connect
peripheral devices
47
Ports
48
49
50
Microprocessor Speeds
51
52
Cache
Memory cache
Processor cache
53
Memory Cache
54
Processor Cache
55
RISC Technology
56
Pipelining
Parallel Processing
57
Pipelining
58
Parallel Processing
59
Primary storage
Primary memory
Main storage
Internal storage
Main memory
60