Question

Question 2 Suppose you have a byte-addressable virtual address memory with 8 virtual pages of 64 bytes each and 4 page frames
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Page size = 64 bytes

  • Page offset = \small log_2(page\;size) = log_2(64) = 6 bits

Number of pages = 8

  • Page number bits = \small log_2(#pages) = log_2(8) = 3 bits

Page Frames = 4

  • Frame number bits = \small log_2(#Frames) = log_2(4) = 2 bits

Virtual address = <Page Number, Page offset> = <3, 6> (Total 9 bits)

Physical address = <Frame Number, Page offset> = <2, 6>

Virtual Address = 0x44 = 001000100

  • Page Number = 001 = 1st page
  • Page offset = 000100

At page number 1, page table has frame number as 3 (11 in binary)

So, physical address = <11, 000100> = 11000100 = 0xC4 (Option C)

Add a comment
Know the answer?
Add Answer to:
Question 2 Suppose you have a byte-addressable virtual address memory with 8 virtual pages of 64...
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