1.1.1

Structure of the CPU

Test yourself

Structure of the Central Processing Unit (CPU)

The CPU is made up of many different components.

Illustrative background for Arithmetic and Logic Unit (ALU)Illustrative background for Arithmetic and Logic Unit (ALU) ?? "content

Arithmetic and Logic Unit (ALU)

  • The ALU performs all of the arithmetic and logical operations of the CPU, including:
    • Addition and subtraction, multiplication and division.
    • Comparisons such as whether numbers are equal or if one is greater than another.
    • Boolean operations such as AND, OR and NOT.
Illustrative background for Control Unit (CU)Illustrative background for Control Unit (CU) ?? "content

Control Unit (CU)

  • Sends out control signals to other parts of the CPU.
  • Executes program instructions by following the fetch-decode-execute cycle.
  • Made up of two key parts:
    • The clock - coordinates the CPU's activity.
    • The decoder - decodes program instructions.
Illustrative background for RegistersIllustrative background for Registers ?? "content

Registers

  • Registers are tiny amounts of super-quick memory within the CPU.
    • Used to hold information needed for the CPU to work.
    • Each register holds a specific piece of information.

Registers of the Central Processing Unit (CPU)

Registers that have a predetermined purpose in the central processing unit are known as special purpose registers.

Illustrative background for Program Counter (PC)Illustrative background for Program Counter (PC) ?? "content

Program Counter (PC)

  • Holds the memory location address of the next instruction to be performed by the CPU.
  • The PC does not store the instruction itself.
Illustrative background for Accumulator (ACC)Illustrative background for Accumulator (ACC) ?? "content

Accumulator (ACC)

  • Holds the result of calculations and operations performed by the arithmetic logic unit (ALU).
Illustrative background for Memory Address Register (MAR)Illustrative background for Memory Address Register (MAR) ?? "content

Memory Address Register (MAR)

  • Holds the address of the location in memory where data is to be retrieved or stored.
Illustrative background for Memory Data Register (MDR)Illustrative background for Memory Data Register (MDR) ?? "content

Memory Data Register (MDR)

  • Holds the data that has been retrieved from memory, or that is about to be stored in memory.
Illustrative background for Current Instruction Register (CIR)Illustrative background for Current Instruction Register (CIR) ?? "content

Current Instruction Register (CIR)

  • The Current Instruction Register (CIR) is used to store the current instruction that the CPU is working on.

Buses

Buses are used to send and receive data and instructions from main memory (RAM).

Illustrative background for FunctionIllustrative background for Function ?? "content

Function

  • Buses are used to send and receive data and instructions from main memory (RAM).
  • A Von Neumann CPU has 3 buses:
    • The data bus
    • The address bus
    • The control bus
Illustrative background for Data busIllustrative background for Data bus ?? "content

Data bus

  • The data bus retrieves data and instructions from main memory.
Illustrative background for Address busIllustrative background for Address bus ?? "content

Address bus

  • The address bus sends addresses to the main memory.
Illustrative background for Control busIllustrative background for Control bus ?? "content

Control bus

  • The control bus sends control signals to other devices inside the computer system.

Jump to other topics

1Components of a Computer

2Software & Software Development

3Exchanging Data

4Data Types, Data Structures & Algorithms

5Legal, Moral, Cultural & Ethical Issues

6Elements of Computational Thinking

6.1Thinking Abstractly

6.2Thinking Procedurally

6.3Thinking Logically

7Problem Solving & Programming

8Algorithms

Go student ad image

Unlock your full potential with GoStudent tutoring

  • Affordable 1:1 tutoring from the comfort of your home

  • Tutors are matched to your specific learning needs

  • 30+ school subjects covered

Book a free trial lesson