| Table of contents | |
| Example: A Simple Instruction Flow | |
| Summary |
Stored-program concept is the foundational idea on which present-day digital computers are built. In this concept both program instructions and data are kept in the same addressable memory so that the Central Processing Unit (CPU) can fetch instructions and data directly from memory during program execution. This approach allows programs to be easily modified, loaded, and executed under program control.
The stored-program idea was formalised by John von Neumann and his colleagues in the mid-1940s. In 1946 they began the design of a stored-program computer at the Institute for Advanced Study, Princeton. This machine is commonly referred to as the IAS computer.
The IAS computer organised the system into three basic units. The structure of the IAS computer is shown below.
The CPU is the primary unit responsible for carrying out computations and controlling the sequence of operations. In the IAS design the CPU is logically divided into:
High-speed registers in the data processing unit provide temporary storage of instructions, memory addresses and data while they are being manipulated by the ALU.
The main memory stores both program instructions and the data on which those instructions operate. Main memory is made up of a large number of storage cells; each cell stores a fixed amount of information (a word) and each cell is accessible by a unique address. Memory organisation describes how words are addressed, how many bits comprise a word (word size), and how memory is accessed.
Key concepts and components related to main memory:
I/O devices provide the interface between the computer and the external world. They transfer programs, data and results between the computer and users or other systems and are controlled by the CPU using specific I/O instructions or memory-mapped I/O techniques.
The stored-program organisation allows the CPU to execute instructions stored in memory by repeating a cycle commonly called fetch-decode-execute. The cycle is:
Design of main memory and its organisation affect performance and programming model. Important considerations include:
Consider a simple load instruction that places a memory word into the accumulator. The steps the CPU performs are:
The stored-program organisation pioneered by von Neumann and implemented in the IAS design places both instructions and data in main memory and lets the CPU fetch, decode and execute instructions sequentially under program control. Understanding the roles of the CPU, main memory and registers (PC, IR, MAR, MBR, AC) together with the fetch-decode-execute cycle is essential to grasp how modern computers operate at the architectural level.
20 videos|115 docs|48 tests |
| 1. What is main memory organization in computer science engineering? | ![]() |
| 2. Why is stored program concept important in computer science engineering? | ![]() |
| 3. How does main memory organization impact the performance of a computer system? | ![]() |
| 4. What are the different techniques used for addressing memory in main memory organization? | ![]() |
| 5. How can computer science engineers optimize main memory organization in a computer system? | ![]() |
20 videos|115 docs|48 tests |
![]() | Explore Courses for Computer Science Engineering (CSE) exam |