Menu

Stored Program Computers

Stored Program Computers

The stored program concept means that a program's instructions and the data it works on are both held in main memory. The computer works through the stored instructions one at a time, using the data also held in memory.

Before this idea, computers could hold data in memory but not their instructions. Each instruction had to be supplied to the machine separately, so changing what the computer did meant setting it up again, often by rewiring or resetting switches. That made computers expensive and inflexible.

Why it matters

When instructions are stored in memory, loading a program just means placing its instructions into memory. The same computer can run a school timetable program in the morning and a music composition program in the afternoon. Nothing physical has to be rebuilt; only the contents of memory change.

This makes a general-purpose computer possible. One machine can do many different jobs because the job is defined by the program it is running, not by its physical design. A program can be loaded and run, and a different program can be loaded later, without changing the hardware.

The same CPU runs a timetable program from main memory in the morning and a music composition program in the afternoon; only the contents of memory change.

Before stored programsWith stored programs
What memory holdsData onlyInstructions and data
To change the taskReconfigure the hardwareLoad a different program
Type of machineSet up by its hardware for a taskGeneral-purpose

Practise this