Generally speaking, then RAM is nearest to processor. CPU fetches all the data from RAM only. However, in reality there is something called Cache memory which come built-in in the processor. Data which is required most frequently is stored in it so that the processor can quickly fetch and process it.
The Type of transfers that must a computer interconnection structure support thats a bus is the following: (1) Memory to Processor (2) Processor to Memory (3) I/O to Processor (4) Processor to I/O (5) I/O to or from Memory
processor and main memory
The memory unit's size that depends on the processor is the bit.
dynamic memory
The processor time is a function of the processor. The memory allocation is a function of the operating system.
The memory that the computer processor accesses directly is primary memory. It is wired directly to the processor. RAM is primary memory on a computer.
Cache memory
Motherboard
It is integrated with Processor. Also called Cache Memory.
Cache
Memory is microchip; address are processor board slots
physical