How RAM store ARRAY in it's memory.?
I read your post about RAM architecture and i got this problem how can RAM memory an array?
did it use many ram locations to use each array elements?
or is there any other way?
how RAM store ARRAY in it memory
Re: how RAM store ARRAY in it memory
I remember I told you about northbridge that handles RAM in a modern motherboard. This is also known as Memory Controller Hub(MCH) or an Integrated Memory Controller(IMC).
Northbridge abstracts the type of memory architecture to the CPU. In other words, CPU doesn't know what type of memory is present on the motherboard (DDR, SDRAM, etc...). Just write the location to address bus and read/write data from/to data bus.
Now lets answer your question. Lets say you are going to define an array that require 1000 bytes. In modern computers, the Minimum Addressable Unit (MAU) is defined as a byte (8-bits). So your array requires 1000 memory locations in the RAM.
Usually these bytes are allocated continuously on the user addressable space in RAM. The starting address of the array is usually decided by the Operating System. Say the starting address of your array is 0xE0000000. Then the end address will be 0xE00003E8 (0xE0000000 + 0x3E8).
I think you are now clear that RAM architecture is independent of the CPU.
Northbridge abstracts the type of memory architecture to the CPU. In other words, CPU doesn't know what type of memory is present on the motherboard (DDR, SDRAM, etc...). Just write the location to address bus and read/write data from/to data bus.
Now lets answer your question. Lets say you are going to define an array that require 1000 bytes. In modern computers, the Minimum Addressable Unit (MAU) is defined as a byte (8-bits). So your array requires 1000 memory locations in the RAM.
Usually these bytes are allocated continuously on the user addressable space in RAM. The starting address of the array is usually decided by the Operating System. Say the starting address of your array is 0xE0000000. Then the end address will be 0xE00003E8 (0xE0000000 + 0x3E8).
I think you are now clear that RAM architecture is independent of the CPU.
Re: how RAM store ARRAY in it memory
Yep BRo...thank you for explanation...
I can remember you told me more about the ram architecture...I love hardware architecture lessons more than any subjest...
I can remember you told me more about the ram architecture...I love hardware architecture lessons more than any subjest...
Re: how RAM store ARRAY in it memory
If you are interested in Computer Architecture, this is the book for you. https://robot.lk/viewtopic.php?f=90&t=1494
Hope you already got it?
Hope you already got it?
Re: how RAM store ARRAY in it memory
Yep kevin BRO..you are the man who gave me that book... i got that....PDF
thank you
thank you
Re: how RAM store ARRAY in it memory
I like it. Thanks for sharing these information. Keep it up.