CIE AS & A Level Computer Science, section 4.1 (Central Processing Unit (CPU) architecture)
The stored program concept
In a stored program computer, the program's instructions and the data are both stored in the same main memory, as binary numbers. The processor fetches each instruction from memory and executes it, one after another.
This means a computer can run any program just by loading different instructions into memory, without being rewired.
The Von Neumann model
The model has:
- a CPU containing the ALU, the control unit and registers,
- main memory (the immediate access store) holding instructions and data,
- input and output devices,
- a set of buses linking the parts.
Key features
- Instructions are processed one at a time, in sequence (unless a jump changes the order).
- Both instructions and data use the same buses and memory.
- Each memory location has a unique address.
Benefits and drawbacks
| Benefits | Drawbacks |
|---|---|
| Simple, flexible design | Instructions and data share the same bus, which creates a bottleneck (the Von Neumann bottleneck) |
| Programs can be loaded and changed easily | Instructions could be overwritten by mistake |
Common mistake: saying instructions and data are "stored separately". In the Von Neumann model they share the same memory. Also, the stored program concept does not mean the program is stored on the hard disk: it is the program held in main memory while it runs.
Exam tip: when asked to describe the Von Neumann model, mention the single memory for instructions and data, the CPU components, the buses, and that instructions are fetched and executed one at a time.
Check yourself
What is meant by a stored program?
The program instructions are held in main memory, in binary, alongside the data, and are fetched and executed by the processor.
Identify two components of the CPU in the Von Neumann model.
Any two: ALU, control unit, registers.
Give one drawback of the Von Neumann model.
Instructions and data share the same bus, which limits speed (the Von Neumann bottleneck).