Computer - Memory: Duhok Polytechnic University Duhok Technical Institute Information Technology Department
Computer - Memory: Duhok Polytechnic University Duhok Technical Institute Information Technology Department
COMPUTER - MEMORY
Created By
Hndren Omer
To teacher
Mr.Nashat Salih
1
COMPUTER - MEMORY
A memory is just like a human brain. It is used to store data and instructions.
Computer memory is the storage space in computer where data is to be processed
and instructions required for processing are stored. The memory is divided into
large number of small parts called cells. Each location or cell has a unique address
which varies from zero to memory size minus one. For example if computer has
64k words, then this memory unit has 64 * 1024=65536 memory locations. The
address of these locations varies from 0 to 65535.
Memory circuits can largely be separated into two major groups: dyanamic
memories that store data for use in a computer system (such as the RAM in a PC);
and static memories that store information that defines the operating state of a
digital system.
2
Basic Concepts
The maximum size of the memory that can be used in any computer is determined
by the addressing scheme.
3
Main Memory (RAM)
If we were to sum all the bits of all registers within CPU, the total amount of
memory probably would not exceed 5,000 bits. Most computational tasks
undertaken by a computer require a lot more memory. Main memory is the
next fastest memory within a computer and is much larger in size.
Typical main memory capacities for different kinds of computers are: PC
512MB5 , fileserver 4GB , database server 8GB.
Computer architectures also impose an architectural constraint on the
maximum allowable RAM. This constraint is normally equal to 2WordSize
memory locations.
RAM (Random Access Memory) is the most common form of Main
Memory. RAM is normally located on the motherboard and so is typically
less than 12 inches from the CPU.
ROM (Read Only Memory) is like RAM except that its contents cannot be
overwritten and its contents are not lost if power is turned off (ROM is non-
volatile).Although slower than register memory, the contents of any location
in RAM can still be “read” or “written” very quickly . The time to read or
write is referred to as the access time and is constant for all RAM locations.
In contrast to register memory, RAM is used to hold both program code
(instructions) and data (numbers, strings etc). Programs are “loaded” into
RAM from a disk prior to execution by the CPU.
Locations in RAM are identified by an addressing scheme e.g. numbering
the bytes in RAM from 0 onwards 10. Like registers, the contents of RAM
are lost if the power is turned off.
4
Memory is primarily of three types
1) Primary Memory/Main Memory
2) Cache Memory
3) Secondary Memory
5
Primary Memory (Main Memory)
Primary memory holds only those data and instructions on which computer is
currently working. It has limited capacity and data is lost when power is switched
off. It is generally made up of semiconductor device. These memories are not as
fast as registers. The data and instruction required to be processed reside in main
memory.
6
7
Thank You For Your Attention