Introduction To Computer Organisation-1
Introduction To Computer Organisation-1
Processor (CPU)
Memory Input-Output
Control Unit
ALU
Communicate with
Store data and program
"outside world", e.g.
• Screen
Execute program • Keyboard
• Storage devices
• ...
Do arithmetic/logic operations
requested by program
According to dictionary.com:
A group of interacting, interrelated, or
interdependent elements forming a complex
whole.
A computer system is a particular type of
system that its primary purpose is that of
performing computations. Before the time of
the electronic computers, a computer was a
person that performed computations.
A computer system is composed of a Central
Processing Unit (Control Unit and Arithmetic
& Logic Unit), Memory and Input/Output
subsystems.
CU
Input/Output Memory
ALU
The Central Processing Unit is composed of a
Control Unit and an Arithmetic & Logic Unit.
The Control Unit controls the different
components of the system and it is
responsible for fetching, decoding and
executing the instructions of a program.
The Arithmetic & Logic Unit is performs
arithmetic and logical operations such as
addition, division, comparison, etc.
The Control Unit is the part of the CPU that
fetches (reads) instructions from memory.
Each instruction is decoded to determine
what exactly it is supposed to do.
Once decoded, each instruction is executed.
The cycle continues until the system is
powered down.
Fetch
Execute Decode
The Arithmetic & Logic Unit (ALU) performs
the arithmetic operations as well as the
logical operations.
The arithmetic operations include addition,
subtraction, multiplication and division.
The logical operations are commonly used
to compare values and determine whether
they are greater, lesser or equal to one
another.
These operations are normally carried out
with registers that are part of the CPU.
Bus C
Bus A
ALU
Bus B
The Storage subsystem is a unit that is capable
of retrieving and saving instructions as well as
data.
There are two main types of storage: Primary
Storage and Secondary Storage.
Primary Storage is the memory that is
immediately available to the CPU and it is
normally fast (RAM or Random Access
Memory).
Secondary Storage is indirectly available to the
CPU and it is typically slower. (Hard disks,
tapes, etc.)
Primary memory includes ROM and RAM, and is
located close to the CPU on the computer
motherboard, enabling the CPU to read data from
primary memory very quickly indeed.
It is used to store data that the CPU needs imminently
so that it does not have to wait for it to be delivered.
Microsoft OpenOffice
Excel Calc
Microsoft OpenOffice
PowerPoint Impress
Proprietary:
WMP
Winamp
FOSS: VLC Real Player
player Quick Time
Hexadecimal: 1D63A7A
000 0 20 1
001 1 21 2
010 2 22 4
011 3 23 8
100 4 24 16
101 5 25 32
110 6 26 64
111 7 27 128
1 0 0 0 0 1 12
© Copyright 2000 Indiana University Board of Trustees
The easiest method for converting a binary
number to its decimal equivalent is to use the
Multiplication Algorithm
Multiply the binary digits by increasing
powers of two, starting from the right
Then, to find the decimal number equivalent,
sum those products
Binary 1 0 1 0 1 1 0 1
Positional Values
x x x x x x x x
27 26 2 5 24 23 2 2 2 1 2 0
Products 128 + 32 + 8 + 4 + 1
17310
830 / 16 = 51 R14
51 / 16 = 3 R3 = E in Hex
3 / 16 = 0 R3
33E16
Hex Digits
3 B 4 F
x x x x
Positional Values
163 162 161 160
Products 12288 +2816 + 64 +15
15,18310