Question

Consider a logical address space of 256 pages with a 4-KB page size, mapped onto a...

Consider a logical address space of 256 pages with a 4-KB page size, mapped onto a physical memory of 64 frames.

a. How many bits are required in the logical address?

b. How many bits are required in the physical address?

1 3
Add a comment Improve this question Transcribed image text
✔ Recommended Answer
Answer #1

a):-

Logical address space =number of pages *page size

=256*4*210B

=28*22*210B=220B

=1 MB

to represent 1MB, logical address has to be 20 bits.

b) :-

Size of physical memory =number of frames *size of frame.

=64*4*210B

=218B

=256 KB

To rereprese 256KB, physical address has to be 18 bits.

Note that frame size = page size and problem is done by assuming system is byte addressable.

"if you have any doubts, please use comment section. "

Add a comment
Answer #2

Answer:

4KB page size, 2^12 bits.

Page Size + Number of (Pages or Frames)
a) 256 Pages = 2^8 pages, 12 + 8 = 20 bits
b) 64 Frames = 2^6 Frames, 12 + 6 = 18 bits

Add a comment
Know the answer?
Add Answer to:
Consider a logical address space of 256 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