Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Help me understand address space?

  1. Jul 27, 2016 #1
    Address space is the total number of identifiable locations in memory. I just learnt 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
     

    Attached Files:

  2. jcsd
  3. Jul 27, 2016 #2

    BvU

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    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.
     
  4. Jul 27, 2016 #3
    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
     
  5. Jul 27, 2016 #4
    I think I got the point :) Thanks you
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Help me understand address space?
  1. Can you help me ? (Replies: 2)

  2. Help me in fortran90 (Replies: 7)

Loading...