Stored Program Concept
Stored Program Concept
Learning objectives
In this lesson students will learn to:
For more details on this topic and additional student activities see
Topic 3 of the student book.
© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-03-P13: Stored program concept
A little history
As long ago as the 1640s,
Mathematicians were creating
mechanical devices that could
perform mathematical operations.
Pascal’s calculator (shown here) was designed and built by the famous
mathematician in 1642 (when he was 19 years old!) to help him with tax
calculations. It performed multiplications and divisions.
© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-03-P13: Stored program concept
Programmable machines
In 1936, Alan Turing proposed a device he
called the ‘Universal Computing Machine’.
© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-03-P13: Stored program concept
Stored programs
The next step was to move programs from tape and store them
electronically within a computer.
It was the first computer that used the basic component architecture
we recognise in modern computers.
© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-03-P13: Stored program concept
© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-03-P13: Stored program concept
To begin with, whenever you open and work with a program, its data
and instructions are loaded into your computer’s RAM.
As the RAM is accessed directly by the CPU, the CPU can get to work!
© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-03-P13: Stored program concept
Fetch
In this step, the CPU fetches data and instructions from the
main memory (RAM) and then stores them in its own
temporary, very fast memory called registers.
Can I have
some
data?
RAM / Memory
CPU
Yes! Here
it is!
© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-03-P13: Stored program concept
Fetch
For this to happen, the CPU uses a hardware path called the
address bus.
The memory address of the next item that the CPU wants is put
onto the address bus.
CPU
Address RAM / Memory
Bus
Data from this memory address then travels from the RAM to the
CPU on another hardware path called the data bus.
Data
CPU Bus RAM / Memory
© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-03-P13: Stored program concept
Decode
The decode step involves the CPU working out what the instruction it
has just fetched actually means.
The control unit decodes the instruction and gets things ready for
the next step.
It does this by looking up the instruction from the instruction set. This
is the full list of operations that a microprocessor can carry out.
© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-03-P13: Stored program concept
Execute
The execute stage is the point at which data processing happens.
© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-03-P13: Stored program concept
© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.
Y10-03-P13: Stored program concept
© Pearson Education Ltd 2020. Copying permitted for purchasing institution only.