Question

A certain computer provides its users with a virtual memory space of 2^32 bytes. The computer...

A certain computer provides its users with a virtual memory space of 2^32 bytes. The computer has 2^18 bytes of physical memory. The virtual memory is implemented by paging, and the page size is 4,096 bytes. A user process generates the virtual address 11123456 hexadecimal.

a. How many entries are there in the page table?

b. Explain how the system establishes the corresponding physical location.

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

The virtual address in binary form is

1 1 1 2 3 4 5 6
0001 0001 0001 0010 0011 0100 0101 0110

page size is is 4096=2^12, the page table size is 2^32-2^12=2^20. the low-order 12 bits (456->0100 0101 0110) are used as the displacement into page, the rest 20 bits (11123->0001 0001 0001 0010 0011) are used as the displacement in the page table.

Add a comment
Know the answer?
Add Answer to:
A certain computer provides its users with a virtual memory space of 2^32 bytes. The computer...
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