What is the relationship between memory size and address space?

  • Thread starter Thread starter fireflies
  • Start date Start date
  • Tags Tags
    Space
Click For Summary

Discussion Overview

The discussion revolves around the relationship between memory size and address space, exploring concepts such as how to calculate the number of bits needed to address memory locations and the meaning of terms like "word size." Participants seek clarification on these concepts through examples and calculations.

Discussion Character

  • Conceptual clarification, Homework-related, Mathematical reasoning

Main Points Raised

  • One participant seeks a detailed explanation of address space and how it relates to memory size, specifically questioning the range of addresses for a given memory size.
  • Another participant explains that a binary number with ##n## bits can represent ##2^n## different values and provides context on the meaning of the prefix "K" in computing.
  • Examples are presented to illustrate how to calculate the number of bits required to address memory, with specific cases of 32 MB and 128 MB memory sizes.
  • A participant expresses confusion about the calculation of bits needed to address a single word in memory and mentions the use of logarithms in the solution.
  • One participant acknowledges understanding after receiving clarification, indicating a progression in comprehension.

Areas of Agreement / Disagreement

Participants appear to have varying levels of understanding regarding the calculations and concepts discussed. There is no consensus on the clarity of the examples or the terminology used, as some participants express confusion while others seem to grasp the concepts.

Contextual Notes

Some participants may have missing assumptions about the definitions of terms like "word" and the implications of memory size on address calculations. The discussion does not resolve these uncertainties.

Who May Find This Useful

Individuals interested in computer science, particularly those studying memory architecture, addressing schemes, or related homework problems may find this discussion relevant.

fireflies
Messages
210
Reaction score
13
Address space is the total number of identifiable locations in memory. I just learned that line. What does that mean elaborately?

like it is said, a memory with 64KB and a word size of 1 byte has an address space ranging from 0 to 65535. How that came from? And why ranging? because I got two other examples saying exact adresses?

the examples are:
1) A computer has 32 MB memory. How many bits are needed to address any single byte in memory?
Solution: 25 bits
2) A computer has 128 MB memory. Each word (what is the word elaborately?) is 8 byte. how many bits are needed to address single word? (Can you please make me understand tge question and the calculation?)
Solution: 24 bits
 

Attachments

  • 1469601858796.jpg
    1469601858796.jpg
    36.6 KB · Views: 567
Technology news on Phys.org
A binary number with ##n## bits can take on ##2^n## different values.

In IT, the prefix K means ##2^{10}##, which is 1024 in decimal notation. So 64 KB = 65536. That is also ##2^{16}##. Older computers had 16 bits for addresses, in that way they could form 65536 different addresses.

The examples are exercises for you, not for PF. So you first should make your own attempt and post :smile:. Don't worry, help will surely come your way.
 
  • Like
Likes   Reactions: fireflies
IThanks for helping..

I just don't understand this part of the examples-

How many bits are needed to address any single word in the memory.. and the solution done with log base 2
 
BvU said:
A binary number with ##n## bits can take on ##2^n## different values.
.

I think I got the point :) Thanks you
 

Similar threads

Replies
2
Views
2K
Replies
15
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
2K
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K