Two major CPU design philosophies:
| Feature | CISC | RISC |
|---|---|---|
| Full name | Complex Instruction Set Computer | Reduced Instruction Set Computer |
| Instructions | Many complex instructions | Few simple instructions |
| Cycles per instruction | Variable (often many cycles) | Usually 1 cycle per instruction |
| Compiler | Simple compiler, complex hardware | Complex compiler, simple hardware |
| Registers | Fewer registers | Many registers |
| Memory access | Instructions can access memory directly | Load/store architecture — memory only via dedicated instructions |
| Examples | x86 (Intel/AMD) | ARM (smartphones, M-series Apple) |
| Power use | Higher | Lower — better for mobile |
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:
This increases throughput (instructions completed per second) without increasing clock speed.
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.
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.
8 questions · instantly marked · AQA 7517 standard
| Term | Definition |
|---|
10 questions · 10 minutes