What is Memory Hierarchy In Computer Organization || LOC


Memory hierarchy a concept that is necessary for the CPU to be able to manipulate data. This is because it is only able to get instructions from cache memory. Cache memory is located on the processor chip, and is the fastest kind of memory. 

Image result for memory hierarchy
Figure Memory Hierarchy

CPU Registers: 
A processor register (CPU register) is one of a small set of data holding places that are part of the computer processor. 
A register may hold an instruction, a storage address, or any kind of data (such as a bit sequence or individual characters). Some instructions specify registers as part of the instruction. 

Cache Memory: 
Cache memory, also called CPU memory, is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM. This memory is typically integrated directly with the CPU chip or placed on a separate chip that has a separate bus interconnect with the CPU. 

The basic purpose of cache memory is to store program instructions that are frequently re-referenced by software during operation. Fast access to these instructions increases the overall speed of the software program. 

Main Memory: 
Main memory is where programs and data are kept when the processor is actively using them. When programs and data become active, they are copied from secondary memory into main memory where the processor can interact with them. A copy remains in secondary memory. 

Main memory is intimately connected to the processor, so moving instructions and data into and out of the processor is very fast. 

Main memory is sometimes called RAM. RAM stands for Random Access Memory. "Random" means that the memory cells can be accessed in any order. However, properly speaking, "RAM" means the type of silicon chip used to implement main memory. 

You Might Also Like


If you have any questions or suggestions, you are free to ask, i will appreciate that and, i will try my best...

Check Out