cache & register.pptx

724 views 6 slides Jul 16, 2023
Slide 1
Slide 1 of 6
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6

About This Presentation

cache memory


Slide Content

Cache memory & Registers By : Aiman Abbas

Cache memory Cache is a smaller and fast memory component in the computer which is inserted between the CPU and the main memory. To make this arrangement effective. The cache needs to be much faster than main memory. This approach is more economical than the use of fast memory devices to implement the entire main memory.

Cache memory

Register Register are the smallest holding data elements that are built into processor itself. These are memory locations that can be directly accessible by processor. It holds small amount of data around 32-bits to 64-bits and may hold an instruction, a storage address or any kind of data such as a bit sequence or individual characters. For example :  Accumulator register, Program counter, Instruction register, Address register, etc.

Registers

Difference between Cache Memory and Register : Cache is a smaller and fastest memory component in the computer. Cache memory is exactly a memory unit. It is used during reading and writing processes from the disk. It is a high-speed storage area for temporary storage. It copied the recently used data into. It reduces the average memory access time. CPU accesses memory at the faster rate than register. Registers is a small amount of fast storage element into the processor. It is located on the CPU. It is used to store and retrieve information from them. It is used to store data temporarily for processing and transfer. It holds operands or instruction that CPU is currently processing. It reduces the time required to find the item stored in memory. CPU can operate on register contents at the rate of more than one operation in one clock cycle.