Memory Organization in Computer
Memory Organization in Computer
Computer memory
Memory is used in computer for storage purpose because computer need some
space to get data from user then process this data in CPU then save the result
into memory.
data from RAM into processor where required command is executed then result is
transfer to a storage device to store result permanently
Register Memory
Cache Memory
Secondary Memory
Register Memory
Registers are memories located in the Central Processing Unit (CPU). There are
more than 64 registers in a CPU and also small in size, typically a register is less
than 64 bits and 32-bit.
Cache Memory
Cache memory is available in register and it is a very fast memory Cache is use to
speed up the computer
Level 2 is also a very high speed memory and small then L1 cache
Associative mapping
Direct mapping
Set-Associative mapping
Associative mapping
In associative mapping associative memory is used to store content and address of
the memory word.
Direct mapping
In direct mapping RAM is used to store data and some data is stored in the cache.
Direct mapping performance is directly proportional to the Hit ratio.
Set-associative mapping
In this type direct associative mapping is modified. Its allow each word to have
more than two words in main memory for address
Main Memory
RAM
RAM stand for random access memory a memory which can be access randomly
RAM Types
ROM
ROM stands for Read Only Memory. The memory from which we can only read data
but cannot write data on it. ROM is a permanent memory.
Types of ROM
MROM
MROM is known as masked rom. It contain set of data or instructions.
PROM
PROM is stand for Programmable Read only Memory. It is used to write a program to do a
specific work. The program written in PROM is cannot be delete.
EPROM
EPROM stand for electronically programmable memory this type of ROM is write throw ultraviolate rays.
EEPROM
This is stand for electronically erasable and programmable read only memory the
data in this type of ROM can be erased throw electronic rays
Secondary Memory
Secondary memory of computer is a permanent memory and use to store and safe
data permanently.
Virtual memory
What is Virtual Memory?
Extending memory is called virtual memory. Virtual memory use RAM It's called
"virtual because it's not RAM.
A load instruction
A store instruction
Fetching an instruction
Associative Memory
Memory that is addressed by content rather than by address is called associative
memory.
Magnetic disk
Hard disk is an example of magnetic disk it is magnetically recorded and can be
recoded again and again.
Sectors
Tracks are further divided into sectors.