The IAS Machine
The IAS Machine
The IAS Machine
the guidance of John von Neumann, was one of the first computers to use
the Von Neumann Architecture. The core idea of the IAS machine was to
use stored programs, where both data and instructions are stored in
memory.
3. Memory:
o The IAS machine had primary memory to store both data and
instructions.
o The memory had a word size of 40 bits and was divided into
multiple locations.
4. Registers:
5. Input/Output Devices:
6. Bus:
o The machine had data, address, and control buses that carried
the data, addresses, and control signals between various
components (like the ALU, memory, and registers).
1. Fetch
The Control Unit fetches the next instruction from memory using the
address stored in the Program Counter (PC).
2. Decode
The Control Unit sends appropriate signals to the ALU (for arithmetic
or logical operations) or to memory (for read/write operations).
3. Execute
4. Repeat
2. Decode Phase
Based on the opcode, the control unit sends the necessary control
signals to the relevant components:
3. Execute Phase
Memory Operations:
o For a Write operation: Data from the AC is sent via the MBR to a
specific memory address specified in the MAR.
Program Control:
4. Store Phase
1. Fetch:
2. Decode:
o The control unit decodes it as: Fetch data from memory locations
A and B, add them, and store the result in the Accumulator
(AC).
3. Execute:
o The control unit signals the ALU to retrieve the values from
memory, perform the addition, and store the result in AC.
4. Store:
o The result in AC is stored back into memory or sent to the output
device.
Cycle Continuation
Key Takeaways:
This working principle highlights the simplicity and modular design of the Von
Neumann architecture, which remains foundational to modern computer
systems.
Example :
Data/Instruction
Memory
Location
00C H 5
00D H 7
This shows how a sequence of instructions is fetched, decoded, and
executed, with the final result stored in memory.
PC= 00A H
MAR=00A H
IBR=ADD M(00D H)
IR=00000001
MAR=00C H
MBR=5
AC=5
IR=00000101
MAR=00D H
MBR=7
AC=12
PC= 00B H
IR=00100001
MAR=00B
MBR=STOR M(00C H)
00C H->12
Memory
Data/Instruction
Location
00C H 5
Memory
Data/Instruction
Location
00D H 7
This image traces how the instructions execute step by step within the CPU:
Final State
Memory Updates:
Summary
Memory
Value
Location
Instruction
00A H
s
00B H Instruction
00C H 12
Memory
Value
Location
00D H 7
2.
Memory Data/Instruction
Location
2 STOR 300
300 5
301 7