- The Von Neumann model and the stored program concept
One memory holds both instructions and data; the CPU fetches and executes them one at a time.
Almost every modern computer follows the Von Neumann architecture. Its key idea is the stored program concept:
Both the program instructions and the data they use are stored together in the same main memory. The CPU fetches each instruction in turn and executes it.
Because the program lives in memory (not in fixed wiring), you can load a new program, change it, or run a different one without rebuilding the hardware — exactly what makes a computer "general purpose".
The Von Neumann machine has three big parts joined by buses:
- The CPU (central processing unit) — contains the Control Unit, the ALU, the registers and the clock.
- Main memory (the Immediate Access Store / RAM) — holds the program and data.
- Input / Output — how data gets in and out.
- Stored program concept = instructions AND data in the same memory.
- Programs can be changed without altering hardware → general purpose machine.
- Three parts: CPU, main memory, input/output, joined by buses.