- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Difference between Byte Addressable Memory and Word Addressable Memory
As we know that memory is the one of most vital part of computer and it becomes very important to understand that how it works and how it stores the data that we provide to it.So in general we know that computer memory stores the data that we provide after converting into bits or bytes (which is nothing but collection of bits) so in this topic we are going to explain that how this storage take place and how to address those storage blocks.
As mentioned above that each data or in simple language every word that we provide to computer it stores it in its memory whether in temporary cache or permanent memory. But before storing it to memory there is conversion of word in bits. Now the collection of these bits is going to be stores in the memory. Memory of computer is divided into chunks or we can say sections which basically hold the converted bits.
Now let us take an example that your computer memory configuration is stated as 4096 * 32 bit which means that it has 4096 locations or sections that each can hold a word of size 32 bit. And let us suppose the address of first section among 4096 sections is 'i' then address of its subsequent section would be 'i+1' and of next is 'i+3' and so on. So this type of addressing in which we treat each section of memory which is that storage of 32 bits or 4 bytes is known as Word Addressable Memory.
While continuing the same example as we know that we have total 4096 sections and each section storing a word of length 32 bits or simply 4 bytes. Now as we discuss above that we can access each section by adding one consecutive number to its current location i.e 'i' then next location is 'i+1' then 'i+2' and so on. Now if memory section which storing word is further treated as sub sections of 4 i.e as each section which storing word of 4 byte is divided in 4 subsection and each subsection storing 1 byte and let us suppose that each subsection has address now each subsection has address like 'j' next would be 'j+1' then 'j+3' and so on. So if we take address of one section as 'j' then address of next section would be 'j+4' then for next would be 'j+8' and so on. So this type of addressing in which the number of subsections i.e number of bytes stored in section is added to get address of next section is known as Byte Addressable Memory.
So if we take 'i' address in Word Addressable memory and 'j' in Byte Addressable memory address then 'i' = 'j' ; 'i=1' = 'j+4' ; 'i=3' = 'j+8' and so on.
- Difference between Cache Memory and Virtual Memory
- Difference between Virtual memory and Cache memory
- Difference between Volatile Memory and Non-Volatile Memory
- Difference between Memory and Storage
- Difference Between Register and Memory
- Difference Between RAM and ROM Memory
- Difference Between Primary and Secondary Memory
- Difference between Stack and Heap memory in Java
- Difference between Simultaneous and Hierarchical Access Memory Organisations
- Difference Between Virtual and Cache Memory in OS
- Difference Between Contiguous and Non-contiguous Memory Allocation
- Difference between Memory Address Mode and Register Address Mode.
- What is the difference between Isolated and memory-mapped I/O?
- What is the relationship between Address and Memory Space in a Virtual Memory System?
- Difference between Shared Memory Multiprocessors and Message-Passing Multiprocessors in Computer Architecture.