Skip to content

Stored-program computer

A computer design in which a processor fetches instructions from an internal program store, with code and data held in shared or separate memory.

Version
v1 · 2026-10-17 · History
Domain-specific #
14316
Domain group
Applied Sciences & Engineering
Origin domain
Computer Science & Software Engineering
Subdomain
Computer Architecture → Computer Science & Software Engineering
Aliases
Stored-program architecture

Core Idea

A stored-program computer keeps encoded instructions in an internal program store and has a processor fetch them during execution. The instruction values select operations without rewiring the processor's control for each task. Where the store can be replaced, changing the stored instructions changes the task. The store need not be writable by the running application.[1][2]

How would you explain it like I'm…

The Recipe-Reading Machine

A stored-program computer keeps its instructions, its 'to-do list', inside itself, and reads them one by one to know what to do. To make it do a new job, you just give it a new list instead of rebuilding its wires.

A Computer That Holds Its Instructions

A stored-program computer keeps its list of instructions, its program, inside its own memory and reads them one at a time while it runs. The instructions tell it which operation to do, so you don't have to rewire the machine for each new job. If you load different instructions, the same machine does something different. The instructions don't have to sit in the same memory as the data, but they do have to be stored inside the machine and fetched by it.

Instruction Storage and Fetch

A stored-program computer is a computer whose executable instructions are held in an internal store and fetched by the processor as it runs. Because the instructions select which operations happen, you change the machine's task by changing the stored program rather than changing the control wiring. This idea does not require instructions and data to share one memory: the Manchester Baby kept both in the same memory, while the ATmega328P microcontroller keeps instructions in Flash program memory and data in a separate data memory. Both are stored-program computers because both fetch encoded instructions from a program store. Whether a program can be updated while the machine is running depends on the specific design.

 

A stored-program computer encodes executable instructions in an internal program store and fetches them during execution; the fetched instructions select the operations performed, so retasking the machine does not require altering the processor's control wiring. Where the store is loadable or rewritable, changing its contents changes the machine's behavior, and the further ability to update a running machine depends on the configuration. The defining mechanism is instruction storage plus fetch, not a unified memory for instructions and data. The Manchester Baby held both in a single CRT random-access store, a shared-memory design, whereas the ATmega328P fetches instructions from Flash program memory and uses a separate data memory, a separated design. Both preserve the decisive relationship among encoded instructions, a program store and the processor that fetches from it.

Scope of Application

The test applies to computer hardware that executes instructions fetched from its own program memory. The Manchester Baby used a writable CRT store shared by instructions and numbers. The ATmega328P microcontroller fetches from Flash program memory while data occupy separate memory. Both are literal instances despite their different media and layouts.[1][2]

Clarity

Ask where instructions are encoded, how the processor fetches them, and how a new task can be loaded. The first two establish the identity. The third describes a particular machine's update route; it does not imply self-modifying code, a bootloader, or a common code/data memory in every case.[1][2]

Manages Complexity

The design separates the changing sequence of operations from the processor circuitry that fetches and executes them. The arrangement says little by itself about loading speed, protection settings, or memory-bus performance. Those must be checked for a particular machine.[1][2]

Abstract Reasoning

Hold the processor fixed and change the stored instruction sequence. If it executes different operations because it fetches different values, the store controls the computation. If changing tasks instead requires changing physical control wiring, stored-program execution has not been shown. Program storage is a separate question from whether code and data share memory.[1][2]

Knowledge Transfer

The encoded-instruction, program-store, and processor-fetch roles transfer between CRT-memory research hardware and Flash-based embedded hardware. Their loading paths and data-memory arrangements do not. The catalog's Representation Prime describes the code-to-operation relation inside both machines; instruction storage and fetch keep this entry within computer architecture.

Example

The Manchester Baby stored encoded operations and numbers in CRT random-access memory and read its instructions successively. A different program could be entered through a keyboard without changing circuitry. The ATmega328P instead prefetches instructions from on-chip Flash and keeps data in a separate space; a configured bootloader can update code. The contrast shows that common code/data memory and in-system rewrite are variants, while stored-instruction fetch is shared.[1][2]

Relationships to Other Abstractions

Local relationship map for Stored-program computerParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Stored-programcomputerDOMAINPrime abstraction: Representation — includesRepresentationPRIME

Current abstraction Stored-program computer Domain-specific

Parents (1) — outgoing typed relations

  • Stored-program computer includes Representation Prime

    A stored-program computer requires encoded instructions whose values represent operations and operands under a processor decoding convention.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Stored-program computer sits in a sparse region of the domain-specific corpus (92nd percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

Not to Be Confused With

Programmable is broader: a machine can accept a program through another control arrangement.[1] Von Neumann shared memory is narrower: the ATmega328P has separate program and data spaces.[2] Instruction Set Architecture specifies programmer-visible operation semantics, while a stored-program computer describes where running instructions reside and how they reach the processor.

References

[1] University of Manchester Computer50 archive, “The Manchester Small Scale Experimental Machine — The Baby”, Background paragraphs on CRT store, stored instructions, successive reads, and keyboard program replacement; Specification on store and input. University-hosted historical account, directly inspected; cited for this machine's described design, not a disputed universal priority claim. registry ↩a ↩b ↩c ↩d ↩e ↩f ↩g

[2] Atmel Corporation (2015). ATmega328P Datasheet, 7810D–AVR–01/15, §§6.1, 7.1–7.3, 26.2–26.5 (printed pp. 9, 17–18, 229–231). Manufacturer primary technical documentation, directly inspected; bootloader update support is configuration dependent. registry ↩a ↩b ↩c ↩d ↩e ↩f ↩g