Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
375 views
in Technique[技术] by (71.8m points)

Suppose you buy 32-bit PC with 512 MB of RAM. What is the 8-hex digit address of the last byte of installed memory?

I've searched around and found a thread referring to how to convert 32mb, and using the power-of-2 method. But I'm still not finding the correct answer.

I also have another followup question dealing with the similar problem:

Suppose you buy 64-bit PC with 1024 MB of RAM. What is the 16-hex digit address of the last byte of installed memory?

And I just can't seem to wrap my head around how to solve this logically.

question from:https://stackoverflow.com/questions/65862528/suppose-you-buy-32-bit-pc-with-512-mb-of-ram-what-is-the-8-hex-digit-address-of

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I found that 512BM is a total of 29 bits on or 2^29. So in hex that is 1FFF FFFF. 1024 follows the same method so 2^30 which is 1073741823 or 3FFF FFFF converted to hex. Not really sure what it means by the 16-hex digit address since 1024MB is only 8 bits long. Also not sure what the 32 bit and 64 bit PCs have to do with this question.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...