Comprehensive Study Guide & Exam Revision Overview: Cpu Architecture Registers - AHC RO/ARO Study Guide

Welcome to the official Cpu Architecture Registers - AHC RO/ARO Study Guide study resource on SJMaths, specially curated for Allahabad High Court RO/ARO Mains candidates and aspirants. This page features high-yielding study material, core concepts, essential formulas, shortcut strategies, and topic-wise revision notes structured to maximize your exam performance.

Key Features & Learning Modules:

Tip: Bookmark this page for daily revision and practice tests. Use SJMaths' interactive modules to track your preparation progress.

CPU Architecture & Registers

Master the inner workings of the Central Processing Unit. Learn about the Control Unit (CU), Arithmetic Logic Unit (ALU), the Fetch-Decode-Execute machine cycle, RISC vs CISC, Von Neumann vs Harvard designs, system buses, and CPU registers (PC, IR, Accumulator, MAR, MDR).

Chronological Evolution of Cpu Architecture Registers

Click on any milestone card below to view standardizing achievements and timeline parameters.

CPU Architecture & Registers Core Study Notes

Review CPU internal organization, cycle steps, and registers.

1. CPU Organization & Control Unit Dynamics

The Central Processing Unit (CPU) is the brain of the computer system, composed of three main internal components: the Control Unit (CU), the Arithmetic Logic Unit (ALU), and the Registers.

A. Internal Components of the CPU

  • Control Unit (CU): Coordinates the execution of instructions. It directs the flow of signals between the CPU and other peripherals, decoding instructions using a microprogram or hardwired logic.
  • Arithmetic Logic Unit (ALU): Performs all calculations (addition, subtraction, multiplication, division) and logical comparisons (AND, OR, NOT, comparisons).
  • Registers: High-speed internal storage locations situated directly inside the processor chip. They operate at the CPU core speed, which is much faster than cache memory and RAM.

B. The Fetch-Decode-Execute Cycle (Machine Cycle)

  1. Fetch: The Control Unit retrieves the instruction from the memory address specified by the Program Counter (PC) and loads it into the Instruction Register (IR).
  2. Decode: The Control Unit decodes the instruction inside the IR to determine what action is required.
  3. Execute: The ALU performs the decoded operation (e.g., adding two numbers or comparing values).
  4. Store (Write-back): The result generated by the execution phase is written back to a register or memory location.

2. Special Purpose Registers (SPRs)

CPU Registers are classified into general-purpose (accessible to assembly programmers) and special-purpose registers, which have dedicated hardware functions.

Register Name Abbreviation Primary Function & Technical Working
Program Counter PC Holds the memory address of the next instruction to be fetched. It automatically increments by the size of the instruction.
Instruction Register IR Holds the binary code of the instruction currently being executed/decoded by the Control Unit.
Memory Address Register MAR Holds the physical memory address that the CPU wants to read from or write data to. Connected directly to the Address Bus.
Memory Data / Buffer Register MDR / MBR Holds the actual data content fetched from RAM, or data waiting to be written to RAM. Connected to the Data Bus.
Accumulator AC / ACC Holds intermediate arithmetic and logical results. Inputs and outputs of the ALU frequently route through it.
Stack Pointer SP Points to the current top address of the stack memory region in RAM, used for tracking return addresses during subroutine calls.
Program Status Word / Flags PSW / FR Contains status bits (flags) like Carry Flag (CF), Zero Flag (ZF), Sign Flag (SF), and Overflow Flag (OF) indicating properties of the last ALU result.

3. Architecture Models & System Buses

Computer performance depends heavily on the memory layout and the interconnecting buses.

A. Von Neumann vs. Harvard Architecture

  • Von Neumann Architecture: Uses a single memory space and shared bus system for both instructions (code) and data. This leads to the Von Neumann Bottleneck, as the CPU cannot read an instruction and read/write data at the exact same time.
  • Harvard Architecture: Uses physically separate memory units and separate bus lines for code and data. This allows simultaneous instruction fetch and data access, which is highly utilized in Digital Signal Processors (DSPs) and modern microcontrollers.

B. System Buses (Interconnects)

A bus is a set of parallel wires used to transmit signals between computer components:

  • Address Bus: Carries the physical memory address from the CPU to the RAM/IO. Unidirectional. Width of address bus determines maximum addressable memory capacity ($2^N$ locations).
  • Data Bus: Transmits actual data/instructions between memory, CPU, and IO devices. Bidirectional. Width determines processor word size (e.g., 32-bit or 64-bit).
  • Control Bus: Carries control signals (read/write commands, clock pulses, interrupts) to coordinate system operations. Bidirectional.

C. Processor design philosophy: RISC vs. CISC

  • RISC (Reduced Instruction Set Computer): Uses a small set of simple, uniform-length instructions. Executes most instructions in one clock cycle using pipelining. Has a large register file and relies on compilers. Examples: ARM (used in mobile phones), MIPS, RISC-V.
  • CISC (Complex Instruction Set Computer): Focuses on complex instructions that can perform multiple operations (like loading from memory, adding, and storing with one instruction). Instructions have variable lengths and take multiple clock cycles. Fewer registers. Examples: Intel x86, AMD64.

Practice Zone: 50 Questions

Click on the options to check your answer instantly. Click "Show Explanation" to read step-by-step solutions.