Question

Question 4 [Points 41 Consider a logical address space of 512 pages with a 4-KB page size, mapped onto a physical memory of 256 frames. a. How many bits are required in the logical address? b. How many bits are required in the physical address?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

A)
Given page size= 4KB=2^12 bytes
offset bits=12 bits
given logical address=512 pages
512=2^9
bits for page no = 9 bits
therefore no of bits required = bits for page no+offset bits
=9+12
=21 bits.
----------------------------------------------------------
B)
Given page size= 4KB
so total size is = 256*4 KB(frames * page size)
=(2^8) * (2^2)*(2^10)
=2^20
total bits in physical address= 20 bits.
  

bits required in logical address is =21 bits.
bits required in Physical address is=20 bits.


Hope it will help you Thank you.

Add a comment
Know the answer?
Add Answer to:
Consider a logical address space of 512 pages with a 4-KB page size, mapped onto a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT