Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm having a difficult time distinguishing address and address space in semiconductor memory such as RAM. As an example, I have a 32-bit address bus which can address 2^32 bits of memory to RAM memory. Now the RAM has memory cells, each of which are 1-bit. But these cells are grouped to form a word, which is 32-bits (since the bus length is 32 bits). Now I assume that that word is considered the "address". But if that's the case what is the "address space"?

share|improve this question
1  
Address space refers to a range of addresses. –  Karan May 28 '13 at 3:04
    
@Karan Im looking for a better explanation than that. "address space is always limited by the width of its address bus" Ok so then address space takes up 32 bits. Then how many bits is each address? Just 1 bit? –  JohnMerlino May 28 '13 at 3:05
    
"Im looking for a better explanation than that" - Of course, which is why it was posted as a mere comment in passing. –  Karan May 28 '13 at 3:56

1 Answer 1

up vote 1 down vote accepted

Address space is the number or range of possible addresses in RAM. Its close cousin is the Virtual Address Space which is the the amount of addressable space, only some of which will be in RAM at any given time.

The question then arises, what are you addressing. I.e. if you say "I want address #5" what are you getting.

In your case, you are rather ambiguous. It either that every bit has an address, or that the entire memory space of 2^32 bits is addressable.

It would make more sense for it to be the second, as this would make it easier to get data across the bus (you only have to specify one address rather than 32).

In general, there are very few architectures that are bit-addressable nowadays (though anything is possible). x86 for example is byte addressable (every byte has an address).

A word is just the unit of computation. I.e. what can I do work on at a time.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.