Chapter 2: Basic Computer Organization and Design: Objectives
Chapter 2: Basic Computer Organization and Design: Objectives
Chapter 2: Basic Computer Organization and Design: Objectives
Objectives:
a.) Discuss the two major classification of general system
architecture.
b.) Differentiate the store program control concept and Flynn’s
Classification.
c.) Discover the most common registers used in a basic computer.
Von-Neumann Model
Page 1
MODULE COMPUTER ORGANIZATION AND ARCHITECTURE
Von-Neumann proposed his computer architecture design in 1945 which was later known
as Von-Neumann Architecture. It consisted of a Control Unit, Arithmetic, and Logical Memory
Unit (ALU), Registers and Inputs/Outputs.
Von Neumann architecture is based on the stored-program computer concept, where
instruction data and program data are stored in the same memory. This design is still used in
most computers produced today.
A Von Neumann-based computer:
o Uses a single processor
o Uses one memory for both instructions and data.
o Executes programs following the fetch-decode-execute cycle
Page 2
MODULE COMPUTER ORGANIZATION AND ARCHITECTURE
The Central Processing Unit can also be defined as an electric circuit responsible for executing
the instructions of a computer program.
The CPU performs a variety of functions dictated by the type of instructions that are incorporated
in the computer.
The major components of CPU are Arithmetic and Logic Unit (ALU), Control Unit (CU) and a
variety of registers.
Arithmetic and Logic Unit (ALU)
The Arithmetic and Logic Unit (ALU) performs the required micro-operations for executing the
instructions. In simple words, ALU allows arithmetic (add, subtract, etc.) and logic (AND, OR, NOT,
etc.) operations to be carried out.
Control Unit
The Control Unit of a computer system controls the operations of components like ALU, memory
and input/output devices.
The Control Unit consists of a program counter that contains the address of the instructions to
be fetched and an instruction register into which instructions are fetched from memory for
execution.
Registers
Registers refer to high-speed storage areas in the CPU. The data processed by the CPU are fetched
from the registers.
Following is the list of registers that plays a crucial role in data processing.
Registers Description
MAR (Memory Address This register holds the memory location of the data that needs
Register) to be accessed.
MDR (Memory Data This register holds the data that is being transferred to or from
Register) memory.
AC (Accumulator) This register holds the intermediate arithmetic and logic results.
PC (Program Counter) This register contains the address of the next instruction to be
executed.
Page 3
MODULE COMPUTER ORGANIZATION AND ARCHITECTURE
CIR (Current Instruction This register contains the current instruction during processing.
Register)
Buses
Buses are the means by which information is shared between the registers in a multiple-register
configuration system.
A bus structure consists of a set of common lines, one for each bit of a register, through which
binary information is transferred one at a time. Control signals determine which register is
selected by the bus during each particular register transfer.
Von-Neumann Architecture comprised of three major bus systems for data transfer.
Bus Description
Address Address Bus carries the address of data (but not the data) between the processor
Bus and the memory.
Data Bus Data Bus carries data between the processor, the memory unit and the
input/output devices.
Page 4
MODULE COMPUTER ORGANIZATION AND ARCHITECTURE
The CPU (Central Processing Unit) consists of the ALU (Arithmetic and Logic Unit), Control Unit
and various processor registers.
The CPU, Memory Unit and I/O subsystems are interconnected by the system bus which includes
data, address, and control-status lines.
The following image shows how CPU, Memory Unit and I/O subsystems are connected through
common single bus architecture.
However, practical systems may differ from the single bus architecture in the sense that it may
be configured around multiple buses.
Multiple Bus Architecture favors high throughput as compared to Single Bus Architecture.
Parallel Processing
Parallel processing can be described as a class of techniques which enables the system
to achieve simultaneous data-processing tasks to increase the computational speed of a
computer system.
A parallel processing system can carry out simultaneous data-processing to achieve faster
execution time. For instance, while an instruction is being processed in the ALU component of
the CPU, the next instruction can be read from memory.
The primary purpose of parallel processing is to enhance the computer processing capability and
increase its throughput, i.e. the amount of processing that can be accomplished during a given
interval of time.
Page 5
MODULE COMPUTER ORGANIZATION AND ARCHITECTURE
A parallel processing system can be achieved by having a multiplicity of functional units that
perform identical or different operations simultaneously. The data can be distributed among
various multiple functional units.
The following diagram shows one possible way of separating the execution unit into eight
functional units operating in parallel.
The operation performed in each functional unit is indicated in each block if the diagram:
o The adder and integer multiplier performs the arithmetic operation with integer
numbers.
o The floating-point operations are separated into three circuits operating in parallel.
o The logic, shift, and increment operations can be performed concurrently on different
data. All units are independent of each other, so one number can be shifted while another
number is being incremented.
For more knowledge about Von Neumann architecture, please check the link
provided; https://www.youtube.com/watch?v=-SADbPS8UgA
Page 6
MODULE COMPUTER ORGANIZATION AND ARCHITECTURE
Page 7
MODULE COMPUTER ORGANIZATION AND ARCHITECTURE
Page 8
MODULE COMPUTER ORGANIZATION AND ARCHITECTURE
o The Memory unit has a capacity of 4096 words, and each word contains 16 bits.
o The Data Register (DR) contains 16 bits which hold the operand read from the memory
location.
o The Memory Address Register (MAR) contains 12 bits which hold the address for the
memory location.
o The Program Counter (PC) also contains 12 bits which hold the address of the next
instruction to be read from memory after the current instruction is executed.
o The Accumulator (AC) register is a general purpose processing register.
o The instruction read from memory is placed in the Instruction register (IR).
o The Temporary Register (TR) is used for holding the temporary data during the processing.
o The Input Registers (IR) holds the input characters given by the user.
o The Output Registers (OR) holds the output after processing the input data.
For more knowledge about computer registers, please check the link provided;
https://www.youtube.com/watch?v=fpnE6UAfbtU&t=77s
REFERENCES
https://www.javatpoint.com/store-program-control-concept
https://www.javatpoint.com/flynns-classification-of-computers
https://www.javatpoint.com/computer-registers
Page 9