📄 Paper 1 · 4.7 Computer Org & Architecture
4.7.2 The Processor — CISC, RISC & Pipelining
AQA 7517 · A-Level Computer Science · ~14 min read

CISC vs RISC Architecture

Two major CPU design philosophies:

FeatureCISCRISC
Full nameComplex Instruction Set ComputerReduced Instruction Set Computer
InstructionsMany complex instructionsFew simple instructions
Cycles per instructionVariable (often many cycles)Usually 1 cycle per instruction
CompilerSimple compiler, complex hardwareComplex compiler, simple hardware
RegistersFewer registersMany registers
Memory accessInstructions can access memory directlyLoad/store architecture — memory only via dedicated instructions
Examplesx86 (Intel/AMD)ARM (smartphones, M-series Apple)
Power useHigherLower — better for mobile

Pipelining

Pipelining is a technique where the CPU begins the next instruction's Fetch stage before the current instruction has finished its Execute stage. Like an assembly line — multiple instructions are in different stages simultaneously.

A simple 3-stage pipeline (Fetch, Decode, Execute) can process 3 instructions overlapping:

  • Clock 1: Instruction 1 — Fetch
  • Clock 2: Instruction 1 — Decode | Instruction 2 — Fetch
  • Clock 3: Instruction 1 — Execute | Instruction 2 — Decode | Instruction 3 — Fetch
  • Clock 4: Instruction 1 complete | Instruction 2 — Execute | Instruction 3 — Decode | Instruction 4 — Fetch

This increases throughput (instructions completed per second) without increasing clock speed.

Pipeline Hazards

  • Data hazard: instruction needs result of a previous instruction not yet complete
  • Control hazard (branch hazard): a branch instruction means it's unknown which instruction comes next
  • Structural hazard: two instructions need the same hardware resource simultaneously

Interrupt Handling

An interrupt is a signal from hardware or software that the CPU needs to stop its current task and deal with something else. At the end of each FDE cycle, the CPU checks for interrupts.

  • If an interrupt is found, the current PC and registers are pushed to a stack (saved)
  • The CPU runs an Interrupt Service Routine (ISR) — the code that handles the interrupt
  • When ISR completes, original register values are restored from the stack and the CPU continues

Virtual Memory

When RAM is full, the OS uses part of the hard disk as virtual memory. Pages of RAM are swapped to disk when needed. The process is called paging. Virtual memory allows programs larger than physical RAM to run, but is much slower due to disk access.

Exam tip: AQA expects you to compare CISC and RISC specifically — know all table rows. Describe pipelining using the clock cycle diagram format. Explain why branch hazards are problematic. For interrupts, name the ISR and describe the save/restore mechanism. Distinguish virtual memory from RAM.
Click through the slides at your own pace. Use arrow keys or click to advance.
Click slide or press arrow keys to navigate

Worksheet — 4.7.2 The Processor

8 questions · instantly marked · AQA 7517 standard

Q1State two differences between CISC and RISC architectures.[4]
✅ Mark scheme
Mark scheme
Any two from: CISC has many complex instructions / RISC has few simple instructions [1+1]; CISC takes variable (often many) clock cycles per instruction / RISC usually one cycle per instruction [1+1]; CISC has fewer registers / RISC has many registers [1+1]; CISC allows instructions to access memory directly / RISC uses load/store architecture [1+1].
Q2Explain how pipelining increases CPU throughput without increasing clock speed.[3]
✅ Mark scheme
Mark scheme
Pipelining allows multiple instructions to be at different stages (Fetch/Decode/Execute) simultaneously [1]; while one instruction is being executed, the next is being decoded and the one after is being fetched [1]; this increases the number of instructions completed per unit time (throughput) without needing a faster clock [1].
Q3What is a data hazard in a pipelined processor? Give an example.[2]
✅ Mark scheme
Mark scheme
A data hazard occurs when an instruction requires the result of a previous instruction that has not yet completed execution [1]; e.g. if instruction 2 reads a register that instruction 1 is still writing to, the pipeline must stall [1].
Q4Describe what happens when the CPU receives an interrupt, including how it returns to the original task.[4]
✅ Mark scheme
Mark scheme
At end of FDE cycle, CPU checks for interrupt [1]; current register values (including PC) are saved to a stack [1]; CPU jumps to and executes the Interrupt Service Routine (ISR) [1]; on completion, saved values are restored from the stack and the original program continues [1].
Q5Why is RISC preferred for smartphones and tablets over CISC?[2]
✅ Mark scheme
Mark scheme
RISC uses simpler hardware, leading to lower power consumption [1]; this extends battery life in mobile devices [1].
Q6Explain what virtual memory is and state one disadvantage of its use.[3]
✅ Mark scheme
Mark scheme
Virtual memory is a portion of secondary storage (hard disk) used as an extension of RAM when physical RAM is full [1]; pages of data are swapped between RAM and disk as needed [1]; disadvantage: accessing disk is much slower than RAM, significantly reducing system performance when virtual memory is heavily used (thrashing) [1].
Q7What is a control hazard (branch hazard) in a pipeline?[2]
✅ Mark scheme
Mark scheme
A control hazard occurs when the CPU encounters a branch instruction and the next instruction to fetch is unknown until the branch condition is evaluated [1]; the pipeline may have already begun fetching the wrong instructions, requiring them to be discarded (pipeline flush) [1].
Q8In a RISC architecture, what is meant by a "load/store" architecture?[2]
✅ Mark scheme
Mark scheme
In a RISC load/store architecture, only dedicated LOAD and STORE instructions can access memory [1]; all other arithmetic/logic instructions operate only on registers [1].
Topic Quiz
Question 1 of 15
You scored
out of 15
Card 1 of 8
Click to reveal definition
🎉
All cards reviewed!
TermDefinition
🎯

Mini Test — CISC, RISC & Pipelining

10 questions · 10 minutes

← 4.7.1 Internal Hardware
50 of 70 · AQA 7517
4.7.3 External Hardware →