← CSC 115 Computer Organization and Architecture
Central Processing Unit Architecture and the Instruction Cycle
Notes
The Von Neumann Architecture Model
The central processing unit constitutes the core engine of any digital computer. Most modern general-purpose processors adhere to the foundational Von Neumann architecture, which states that both program instructions and working data share a common memory space and bus system. The central processing unit consists of three primary functional blocks: the Arithmetic Logic Unit, the Control Unit, and the Internal Register Set. The Arithmetic Logic Unit carries out mathematical computations and Boolean comparisons. The Control Unit acts as the conductor, decoding incoming instructions and generating electrical control signals across data paths.
Registers and Internal Organization
Registers are high-speed internal memory locations physically situated inside the processor core. Crucial internal registers include the Program Counter, which stores the memory address of the next instruction to be executed; the Instruction Register, which holds the current binary instruction while it is being decoded; the Memory Address Register; and the Accumulator, which temporarily holds computation outputs. These registers operate at the clock frequency of the processor, providing latency far lower than external system memory.
The Fetch Decode Execute Cycle
The fundamental operational loop of the processor is the instruction cycle. During the fetch phase, the Program Counter places an address onto the address bus, and the instruction at that location is transferred into the Instruction Register while the Program Counter increments. In the decode phase, the Control Unit interprets the opcode and addressing mode. In the execute phase, required operands are routed to the Arithmetic Logic Unit, computation is performed, and results are written back to registers or main memory.
Practical example
Consider an automated university registration server at the University of Nairobi executing an admission intake script. A specific machine code instruction must increment the admitted engineering student counter by one. The counter variable is stored in random access memory at address 0x2000, and the Program Counter currently points to address 0x0100.
In the fetch phase, the Program Counter places 0x0100 on the address bus. The instruction at 0x0100 is loaded via the data bus into the Instruction Register, and the Program Counter updates to 0x0104. In the decode phase, the Control Unit determines that the opcode signifies an add immediate operation targeting the student counter.
In the execute phase, the memory address 0x2000 is placed on the address bus, retrieving the current count of 450 students into an accumulator register. The Arithmetic Logic Unit adds the immediate value 1 to 450, yielding 451. Finally, during the write-back stage, the updated total of 451 is transferred across the data bus back to memory address 0x2000.
Quiz
1. What primary function does the Control Unit perform during the instruction cycle?
2. What shared characteristic defines classic Von Neumann architectures?
3. Which register holds the memory address of the next instruction waiting to be fetched?
Sign in to submit and securely grade your quiz.