answersLogoWhite

0


Best Answer

what is the difference between cache & register ? Cache memory is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM. As the microprocessor processes data, it looks first in the cache memory and if it finds the data there (from a previous reading of data), it does not have to do the more time-consuming reading of data from larger memory.

The register is a small set of data holding places that are part of a computer processor . A register may hold a computer instruction , a storage address, or any kind of data (such as a bit ..."

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

8y ago

A register is a memory directly accessible under program control to the CPU for some purpose. Most registers are of small size (e.g. one word, one byte). Some types of registers and what they do are:

  • accumulator register - operands and results of fixed point arithmetic or logic operations
  • index register - memory addresses and index values
  • floating point register - operands and results of floating point arithmetic operations
  • stack pointer register - memory address of top of stack
  • frame pointer register - memory address of current stack frame
  • general purpose register - any of the above
  • program status register - hardware state information that describes the process context
  • segment register - descriptor of a memory segment
  • memory map register - used in memory management unit to map memory and control access
  • virtual memory descriptor pointer register - memory address of virtual memory descriptors
  • interrupt vector pointer register - memory address of interrupt vector table
  • vector register - a collection of operands and results (e.g. 4 to thousands) that will all be processed identically (usually floating point)
  • etc.

The cache memory is a memory between the CPU and main memory used to "cache" commonly used locations of main memory so that the fast CPU does not have to wait for the slower memory access on every memory cycle. The cache memory is organized into "lines" of several adjacent words of memory (e.g. 4 words, 16 words, 64 words) depending on the computer and memory architecture. The CPU has no direct control over what is in cache memory, this is handled by a cache controller. In some computer architectures the CPU can request that the cache controller perform actions like "flush line", "invalidate line", or "preload line" but in general these are treated more like suggestions than required instructions by the cache controller

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Even though both memory hold data, the register holds data temporary, i.e. data waiting to be execute by the CPU, while in the case of main memory, it holds information/data permanently. the register is smaller in capacity, while the memory is larger in capacity. the register serves as an assistance to the main memory, i.e. in situation where the data to be handled by the it is much more than what it can hand, so the register comes in handy.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Cache memory is a special high speed memory that acts as a buffer between the processor and slower memory. Nowadays, the cache memory is in the CPU and not a separate bank of memory on the motherboard like there was back in the 386/486 days.

A register is a special area of memory in the processor which is 1-8 bytes long. That is where the operations take place. Now, modern processors have many more registers than the official named ones (like EAX, EBX, ECX, and so on). They need them for hyperthreading, out of order processing, optimization, and more. Modern processors probably use tricks like aliasing and cloning. They may change the names of the registers in the middle of operations. Now, there are times when an extra register to be used as a buffer is needed. One would be if the result will end up in the register of one or more of the operands. Another would be if the memory isn't ready to accept a result and the CPU needs to continue. Memory contention could be another reason for a buffer register. Or, an operand mismatch is another. If you have to access the memory with a certain size, but the CPU needs another size, then it would have to go to the buffer register and the correct size pulled from there. The buffer register also allows the memory and processor to act independently of each other.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

yes

This answer is:
User Avatar

User Avatar

Anonymous

Lvl 1
3y ago

yes

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is cache memory faster than CPU registers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Cache memory and register memory?

Register memory are smaller in size than cache memory and registers are faster than cache..Cache memory store the frequently used data from main memory..


A memory cache is small amount of RAM that is much faster than the rest of RAM?

A memory cache is small amount of RAM that is much faster than the rest of RAM?


Why is cache memory more expensive than hard disk?

as the cache memory is mory faster than RAM or hard disk ,but the main reason is that the cache memory has comparator and storage medium at the same time, the comparator checks if the address of the value being accessed is in the associative memory(a part of cache)or not, and the ordinary memory(another part of cache)has the data....


What are Limitations of cache?

size. cache memory is situated on the CPU, and stores recently used data, in case the CPU needs again soon. cache memory is many, many times faster than RAM, just RAM is much faster than the HD.


What is the small amount of ram that is much faster than the rest of ram?

memory cache


What type of memory stores frequently used instructions or data needed by the CPU?

the memory that directly communicates with the CPU is called Cache Memory this is; When the processor(CPU) needs to read from or write to a location in main memory, it first checks whether a copy of that data is in the cache. If so, the processor immediately reads from or writes to the cache, which is much faster than reading from or writing to main memory. A CPU cache is a cache used by the central processing unit of a computer to reduce the average time to access memory. The cache is a smaller, faster memory which stores copies of the data from the most frequently used main memory locations. As long as most memory accesses are cached memory locations, the average latency of memory accesses will be closer to the cache latency than to the latency of main memory. [by Deogratius Ambrose IAA-Tanzania] the memory that directly communicates with the CPU is called Cache Memorythis is; When the processor(CPU) needs to read from or write to a location in main memory, it first checks whether a copy of that data is in the cache. If so, the processor immediately reads from or writes to the cache, which is much faster than reading from or writing to main memory. A CPU cache is a cache used by the central processing unit of a computer to reduce the average time to access memory. The cache is a smaller, faster memory which stores copies of the data from the most frequently used main memory locations. As long as most memory accesses are cached memory locations, the average latency of memory accesses will be closer to the cache latency than to the latency of main memory. [by Deogratius Ambrose IAA-Tanzania]


Is Cache memory generally slower than RAM?

Cache memory is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM. As the microprocessor processes data, it looks first in the cache memory and if it finds the data there (from a previous reading of data), it does not have to do the more time-consuming reading of data from larger memory. Cache Memory generally comes in smaller size (3MB, 6MB etc) than the RAM (512 MB, 1GB,2GB.....)


Memory cache is referred to as?

memory cache is a small amount of RAM (referred to as static RAM) that is much faster than the rest of the RAM, which is called dynamic RAM (DRAM).


Is cache memory is the main memory of cmputer system?

NO...The cache is a smaller, faster memory which stores copies of the data from the most frequently used main memory locations. As long as most memory accesses are cached memory locations, the average latency of memory accesses will be closer to the cache latency than to the latency of main memory.Thus Cache memory is not main memory of computer system.--- form Wiki


What is a cache?

Answer:- The Cache memory is placed between the CPU and the main memory. It is a fast speed memory and is expensive and faster than the main memory. Cache memory is used to store the frequently accessed data of main memory. The instructions that are frequently used by the CPU are stored in the cache memory. It is used to reduce the average access time for address, instructions or data, which are normally stored in the main memory. Cache memory increases the operating speed of the system. But is much costlier than main memory. From economic considerations, the capacity of the cache memory is much less as compared to main memory..


Cache or ram which one is faster?

Cache is faster than RAM...


What is the function of CPU cache?

Many CPUs have what is known as a CPU cache. The function of this CPU cache is to speed up access to data.