Professional Documents
Culture Documents
Lecture 2
CPU
Control Unit:
Selects and interprets program
instructions and make sure they are
executed
It has some special purpose registers
and a decoder
It manages and coordinate entire
computer including I/O units.
Central Processing Unit
• The CPU is the brains behind the operation.
• Architectures for this unit may differ, but most
have the same basic units:
– data registers (R0, R1…)
– arithmetic logic unit (ALU)
– program counter (PC)
– instruction decoder
– main memory access
(MAR, MDR/MBR)
ROM PROM Flash
Cache Memory
Decoder Accumulator
Register
Memory Address .
Register
Memory Buffer .
Register
I/O Register .
General Purpose
General Purpose
Register Register