Skip to content
Cambridge AS & A Level9618

Central Processing Unit (CPU) Architecture

Computer Science 9618 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Central Processing Unit (CPU) Architecture notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Central Processing Unit (CPU) Architecture notes as text: skim, search, and jump between subtopics.

~15 min read

1. The Von Neumann model and the stored program concept

The basic Von Neumann model of a computer system is built from the Control Unit (CU), the Arithmetic and Logic Unit (ALU), the Immediate Access Store (IAS), the system clock, registers and buses.

The stored program concept says that instructions and data are stored in the same memory space, which is main memory.

When a question asks for components and says "do not include registers or buses", the answers are the CU, the ALU, the IAS and the system clock.

Examiner insight

“Few candidates understood that the stored program concept means that instructions and data are indistinguishable, and both are stored in the same memory space.” “Some candidates need to read the question carefully, as answers that included buses and registers were seen when candidates were told not to include them in their answers.”

Worked example 11 mark

State what is meant by the stored program concept in the Von Neumann model of a computer system.

  1. 1

    Instructions and data are stored in the same memory space / in main memory [1]

2. The ALU, the CU, the system clock and the IAS

The ALU performs mathematical operations and logical comparisons.

The CU coordinates the actions of the other components in the CPU. It sends and receives control signals along the control bus and manages the execution of instructions. The system clock is needed to synchronise operations by creating timing signals.

The IAS holds all the data, instructions and programs currently in use. It is volatile and has fast access times.

Examiner insight

“There was considerable confusion between the CU and the CPU, with many answers describing the purpose of the whole CPU rather than the purpose of the CU within the CPU.” “Answers such as ‘immediate access store is storage that can be accessed immediately’ which simply return the name are vague and imprecise.”

Worked example 12 marks

State the purpose of the system clock and the Control Unit (CU) in a CPU.

  1. 1

    system clock: to synchronise operations by creating and transmitting timing signals on the control bus [1]

  2. 2

    CU: coordinates / synchronises the activity of other components in the CPU [1]

3. Registers: general purpose and special purpose

A general purpose register can be used for any purpose the programmer defines. A special purpose register has a specified role in the machine and holds the state of the program's execution.

The PC stores the address of the next instruction to be fetched. The MAR stores the address of the location being read from or written to. The MDR holds the data read from, or to be written to, that address. The CIR holds the instruction being decoded or executed.

The ACC holds the intermediate results of arithmetic and logical operations. The IX stores a value that is added to an address to give another address. The status register stores flags set by events.

Examiner insight

“A popular incorrect description of the Program Counter stated that it was used to count the number of instructions.” “Responses such as ‘special purpose registers have a special use; general purpose registers are for general use’ which simply return the names of the registers are not enough at this level.”

Worked example 13 marks

A Central Processing Unit (CPU) contains several special purpose registers and other components.

State the role of the following registers: Program Counter (PC), Index Register (IX), Status Register (SR).

  1. 1

    PC: to store the address of the next instruction to be fetched [1]

  2. 2

    IX: to store a value that is added to an address to give another address [1]

  3. 3

    SR: to store flags which are set by events, from the results of arithmetic and logic operations and interrupt flags [1]

4. The address bus, data bus and control bus

Data move between components along three buses. The data bus carries data to the components. The address bus carries the address where data needs to be written to or read from.

The control bus carries control signals. Examples are interrupt, timing, read and write signals.

The CU initiates a data transfer by generating signals that are sent on the control bus. The system clock gives out timing signals, which are sent on the control bus to synchronise the other components.

Examiner insight

“Answers frequently included statements such as “the control bus carries the data” or “the control bus carries the instruction” both of which are incorrect. A control bus carries (control) signals.” “At this level of study marks were not awarded for answers which did not demonstrate any understanding beyond that the control bus carries control signals.”

Worked example 12 marks

The laptop is designed using the Von Neumann model for a computer system.

Identify two types of signal that a control bus can transfer.

  1. 1

    one type of signal, for example an interrupt signal [1]

  2. 2

    a second type, for example a timing, read or write signal [1]

5. Factors that affect performance

Four factors affect performance: processor type and number of cores, bus width, clock speed and cache memory.

Each F-E cycle runs on a clock pulse, so a higher clock speed means more F-E cycles per second. More cores means more instructions can be carried out simultaneously. A wider bus transfers more data at the same time. A larger cache stores more frequently used instructions for fast access.

More cores does not mean a proportional gain. Cores must communicate, and software may not be designed to use them.

Examiner insight

“Vague statements such as, ‘more cores means that the computer can process instructions faster’ are not enough.” “Instruction was seen frequently instead of F-E cycle.”

Worked example 15 marks

A computer has a single 2.1 GHz CPU. A second computer has a CPU with two 2.1 GHz cores.

Explain why the second computer does not always run twice as fast as the computer with one 2.1 GHz CPU.

  1. 1

    Multiple cores introduce additional overheads [1]

  2. 2

    ...because of the need for communication between cores [1]

  3. 3

    Software may not be designed for multiple cores... [1]

  4. 4

    ...so one of the cores will be left idle [1]

  5. 5

    Memory access speed may not match the speed of the cores, so causing delay [1]

6. Ports and peripheral devices

A port connects a peripheral device to the computer. The syllabus names three: the Universal Serial Bus (USB), the High Definition Multimedia Interface (HDMI) and the Video Graphics Array (VGA).

Data are sent through a USB port one bit at a time. A monitor can be connected through an HDMI or a VGA port. HDMI has faster transfer rates than VGA and carries video and audio, so no separate sound cable is needed, unlike VGA. HDMI is a digital interface.

A USB device is recognised automatically. The computer detects a voltage change, then the operating system finds the device's code and loads the appropriate device driver.

Examiner insight

“Many candidates overlooked the word ‘port’ in the question and described plugging a USB memory stick into a computer to transfer a document to the printer. A popular answer from candidates who did recognise what the question required, included the description of data being transmitted in parallel.”

Worked example 13 marks

A solid state (flash) memory drive is automatically recognised by the computer when it is plugged into a port in the computer.

Identify an appropriate type of port to connect the solid state memory drive to the computer. Explain how this port provides an automatic connection.

  1. 1

    port: USB / Universal Serial Bus [1]

  2. 2

    a voltage change occurs when the drive is plugged in and the computer detects it [1]

  3. 3

    the OS finds the code of the device in the list of devices and loads the appropriate device driver [1]

7. The Fetch-Execute cycle in register transfer notation

Register transfer notation writes each step of the F-E cycle as a transfer. A square bracket means the contents of a register. Double brackets mean the contents of the address held in the register.

In order, the cycle copies the PC to the MAR, increments the PC, copies the data at the address in the MAR to the MDR, and copies the MDR to the CIR.

MAR ← [PC]

PC ← [PC] + 1

MDR ← [[MAR]]

CIR ← [MDR]

Examiner insight

“A frequent incorrect statement for the first missing description was ‘the contents of the MAR are copied to the MDR’ rather than ‘the contents of the address held in the MAR are copied to the MDR’.” “There were a number of correct answers to this question, but also some confusion with the use of the square brackets to denote the contents of a register, rather than the register itself.”

Worked example 14 marks

The following incomplete table contains steps of the Fetch-Execute (F-E) cycle and their descriptions.

Complete the table by writing the missing steps using register transfer notation and the missing descriptions.

StepDescription
The address in PC is incremented.
MDR ← [[MAR]]
MAR ← [PC]
The contents of MDR are copied into CIR.
  1. 1

    PC ← [PC] + 1 [1]

  2. 2

    MDR ← [[MAR]]: the data in the location pointed to by the MAR is copied to the MDR [1]

  3. 3

    MAR ← [PC]: the contents of PC are copied to the MAR [1]

  4. 4

    CIR ← [MDR] [1]

8. Interrupts

An interrupt is a signal from a device or process, seeking the attention of the processor. A software cause is division by zero, a runtime error, an invalid memory access, an array index out of bounds or a stack overflow.

An interrupt is detected at the start or end of an F-E cycle. The priority is checked. If it is higher than the current process, the registers are stored on the stack. The appropriate Interrupt Service Routine (ISR) is called.

When the ISR finishes, a further check is made for higher priority interrupts. Otherwise the registers are restored from the stack and the process continues.

Examiner insight

“There was little mention of checking the priority of the interrupt and few candidates stated where in the FE cycle the check for interrupts would occur.” “There seemed to be an assumption that all current processes would be stopped immediately and the interrupt from the keyboard would be processed without any delay.”

Worked example 15 marks

An interrupt is generated when a key is pressed on a computer keyboard.

Explain how the computer handles this interrupt.

  1. 1

    an interrupt flag is raised in the (interrupt) register [1]

  2. 2

    checked at the end of the current F-E cycle, for higher priority interrupts than the current process [1]

  3. 3

    if higher, the current contents of the registers are stored on the stack [1]

  4. 4

    the appropriate interrupt service routine (ISR) for the key press is called [1]

  5. 5

    the contents of the registers are restored from the stack and control is passed back to the previous process [1]

Recap

  • Stored program concept: instructions and data are stored in the same memory space.
  • The ALU does arithmetic and logic. The CU coordinates the other components in the CPU and manages execution. The clock synchronises by timing signals. The IAS holds what is in use.
  • PC = address of next instruction. MAR = address being read or written. MDR = data at that address. CIR = current instruction. ACC = intermediate results. IX = value added to an address. SR = flags.
  • Data bus carries data, address bus carries addresses, control bus carries control signals.
  • Performance: cores, bus width, clock speed, cache. Say what each one does, not just "faster".
  • USB sends one bit at a time and is recognised automatically through a voltage change and a device driver. HDMI is faster than VGA and carries audio too.
  • F-E cycle: MAR ← [PC], PC ← [PC] + 1, MDR ← [[MAR]], CIR ← [MDR]. Double brackets mean the address held in the register.
  • Interrupt: check at the start or end of an F-E cycle, compare priority, store registers on the stack, call the ISR, restore registers.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State what is meant by the stored program concept.1 mark
    Answer
    1. Instructions and data are stored in the same memory space (main memory).

    Trap: Writing only that a program is saved in memory gives no mention of data sharing that space.

  2. Describe the purpose of the system clock in a CPU.2 marks
    Answer
    1. It is needed to synchronise operations.
    2. It does this by creating timing signals.

    Trap: Describing clock speed or overclocking says nothing about why a clock is needed.

  3. State the role of the Memory Address Register (MAR) and of the Memory Data Register (MDR).2 marks
    Answer
    1. MAR holds the address of the memory location being read from or written to.
    2. MDR holds the data read from, or to be written to, that address.

    Trap: Giving the Program Counter's role for the MAR, or swapping the MAR and the MDR.

  4. A student writes: "The control bus carries the instructions from memory to the CPU." Explain why this is wrong.2 marks
    Answer
    1. The control bus carries control signals.
    2. Examples of these are read, write, timing and interrupt signals.

    Trap: Saying the control bus carries "control signals" and nothing more earns no credit at this level.

  5. Do not use a calculator. A CPU with a clock speed of 1.8 GHz is replaced by a CPU with a clock speed of 2.7 GHz. Describe the effect on the number of F-E cycles per second.3 marks
    Answer
    1. One F-E cycle runs on each clock pulse, so 1.8 GHz is 1.8 billion F-E cycles per second.
    2. 2.7 GHz is 2.7 billion F-E cycles per second.
    3. 2.7 ÷ 1.8 = 1.5, so 1.5 times as many F-E cycles per second.

    Trap: Saying "more instructions" instead of F-E cycles, or "faster" with no figure.

  6. Write, in register transfer notation, the three steps below, in the order they occur in the F-E cycle. A: the data in the location pointed to by the MAR is copied to the MDR. B: the contents of the PC are copied to the MAR. C: the address in the PC is incremented.3 marks
    Answer
    1. B first: MAR ← [PC]
    2. C second: PC ← [PC] + 1
    3. A third: MDR ← [[MAR]]

    Trap: Writing [MAR] instead of [[MAR]] copies the address, not the data at that address.

  7. State the purpose of an interrupt and give one cause of a software interrupt.3 marks
    Answer
    1. An interrupt sends a signal from a device or process.
    2. ...seeking the attention of the processor.
    3. A cause of a software interrupt is, for example, division by zero.

    Trap: Listing causes, such as a key press, does not describe the purpose of an interrupt.

  8. A customer replaces a one-core processor with a four-core processor. She expects the computer to run four times as fast. Give two reasons why it may not.4 marks
    Answer
    1. Reason 1: the cores must communicate with one another...
    2. ...which adds overheads.
    3. Reason 2: software may not be designed for multiple cores...
    4. ...so some of the additional cores are left idle.
    5. Also credited: memory access speed may not match the speed of the cores, causing delay.

    Trap: Assuming performance rises in proportion to the number of cores.

  9. A security camera's CPU is running a recording process of priority 2. Part-way through an F-E cycle, a motion sensor raises an interrupt of priority 5. While the sensor's ISR is running, a keypad raises an interrupt of priority 3. Higher numbers mean higher priority. Describe, in order, how the CPU handles the two interrupts and returns to the recording process.6 marks
    Answer
    1. The recording process is not stopped at once: the current F-E cycle finishes, then the interrupt flag is checked at the end of the cycle.
    2. Priority 5 is higher than priority 2, so the contents of the registers are stored on the stack.
    3. The source of the interrupt is identified and the motion sensor's ISR is called.
    4. Priority 3 is lower than 5, so the keypad interrupt waits until the sensor's ISR has finished.
    5. When the sensor's ISR finishes, a further check finds the keypad interrupt; priority 3 is higher than 2, so the keypad's ISR is called.
    6. When no higher priority interrupts remain, the registers are restored from the stack and the recording process continues.

    Trap: Assuming the current process stops immediately, or that a later interrupt always runs at once, without checking where in the F-E cycle or its priority.

  10. Do not use a calculator. A computer has an address bus 16 bits wide and a clock speed of 2.5 GHz. It is upgraded to an address bus 20 bits wide and a clock speed of 4 GHz. (a) Explain the effect of the wider address bus, and calculate how many times as many memory locations can now be directly addressed. [3] (b) Describe, using the values given, the effect of the new clock speed on performance. [3]6 marks
    Answer
    1. (a) A wider address bus allows more memory locations to be directly accessed.
    2. 2¹⁶ locations before and 2²⁰ after.
    3. 2²⁰ ÷ 2¹⁶ = 2⁴ = 16 times as many locations.
    4. (b) One F-E cycle is run on each clock pulse.
    5. Instead of 2.5 billion F-E cycles per second, the CPU can now run 4 billion F-E cycles per second.
    6. 4 ÷ 2.5 = 1.6 times as many F-E cycles per second.

    Trap: Examiners report "instruction" written instead of F-E cycle and answers that ignore the values given; and 20 ÷ 16 = 1.25 forgets that each extra address bit doubles the locations.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
‘the status register shows the status’the status register stores flags set by events, such as arithmetic results and interrupts
The Program Counter counts the number of instructions.The PC stores the address of the next instruction to be fetched.
The control bus carries the data (or the instruction).The control bus carries control signals, such as interrupt, timing, read and write.
More cores means the computer can process instructions faster.More cores means the computer can process more instructions simultaneously.

Frequently asked questions

What does the stored program concept mean?
The stored program concept says that instructions and data are stored in the same memory space, which is main memory. Examiners reported that few candidates understood that instructions and data are indistinguishable in that space. Writing only that a program is saved in memory earns no credit for this idea.
What does the Program Counter do?
The Program Counter (PC) stores the address of the next instruction to be fetched. It does not count the number of instructions, which is a popular incorrect description. The MAR is different: it stores the address of the location being read from or written to.
Does the control bus carry data or instructions?
No. The control bus carries control signals, such as interrupt, timing, read and write signals. Answers saying the control bus carries the data or the instruction are incorrect. The data bus carries data and the address bus carries addresses.
Why does adding more cores not make a computer run proportionally faster?
Cores must communicate with one another, which adds overheads. Software may not be designed for multiple cores, so one of the cores is left idle. Memory access speed may also not match the speed of the cores, causing delay. More cores means more instructions can be carried out simultaneously.
How is each step of the Fetch-Execute cycle written in register transfer notation?
Each step is written as a transfer: MAR ← [PC], then PC ← [PC] + 1, then MDR ← [[MAR]], then CIR ← [MDR]. A single square bracket means the contents of a register, and double brackets mean the contents of the address held in the register.
What happens when an interrupt occurs during the Fetch-Execute cycle?
The interrupt is detected at the start or end of an F-E cycle and its priority is checked. If it is higher than the current process, the registers are stored on the stack and the Interrupt Service Routine (ISR) is called. When the ISR finishes, the registers are restored from the stack and the process continues.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters