This topic covers the fundamental architecture and internal operations of the Central Processing Unit (CPU). It examines the roles of specific registers, t
Topic Synopsis
This topic covers the fundamental architecture and internal operations of the Central Processing Unit (CPU). It examines the roles of specific registers, the function of the Arithmetic and Logic Unit (ALU) and Control Unit, and the mechanics of the Fetch-Decode-Execute cycle, including how these relate to assembly language and processor performance.
Key Concepts & Core Principles
- The fetch-execute cycle: fetch instruction from memory, decode it, then execute it using the ALU or CU.
- Processor components: CU (controls execution), ALU (performs arithmetic/logic), registers (PC, MAR, MDR, ACC, CIR), and buses (data, address, control).
- Pipelining: overlapping fetch, decode, and execute stages to improve instruction throughput, though hazards (data, control, structural) can reduce efficiency.
- Von Neumann vs. Harvard architecture: von Neumann uses a single memory for data and instructions (bottleneck), while Harvard uses separate memories for parallel access.
- Factors affecting performance: clock speed, number of cores, cache size/levels (L1, L2, L3), and word length.
Exam Tips & Revision Strategies
- Use clear, technical terminology when describing register operations during the Fetch-Decode-Execute cycle.
- When discussing performance, always link the factor (e.g., cache size) to the reduction in time spent waiting for data from slower main memory.
- Be prepared to draw or label diagrams of the CPU architecture.
- Ensure you can explain how assembly language instructions map directly to the movement of data between registers and memory.
Common Misconceptions & Mistakes to Avoid
- Confusing the roles of the Memory Address Register (MAR) and Memory Data Register (MDR).
- Failing to explain how the Control Unit manages the flow of data through the buses.
- Inaccurately describing the impact of increasing clock speed without considering thermal or physical constraints.
- Confusing the purpose of cache memory with main memory (RAM).
- Misunderstanding the difference between Von Neumann and Harvard architectures regarding memory access.
Examiner Marking Points
- Identification and function of ALU, Control Unit, and specific registers (PC, ACC, MAR, MDR, CIR).
- Explanation of the data, address, and control buses and their relationship to assembly language.
- Detailed description of the Fetch-Decode-Execute cycle and its impact on register states.
- Factors influencing CPU performance: clock speed, number of cores, and cache memory.
- Explanation of pipelining as a method to improve processor efficiency.
- Comparison of Von Neumann and Harvard architectures, including contemporary processor designs.