8-exr - CHAPTER Memory Management Practice Exercises 8.1...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
8 CHAPTER Memory Management Practice Exercises 8.1 Name two differences between logical and physical addresses. 8.2 Consider a system in which a program can be separated into two parts: code and data. The CPU knows whether it wants an instruction (in- struction fetch) or data (data fetch or store). Therefore, two base–limit register pairs are provided: one for instructions and one for data. The instruction base–limit register pair is automatically read-only, so pro- grams can be shared among different users. Discuss the advantages and disadvantages of this scheme. 8.3 Why are page sizes always powers of 2? 8.4 Consider a logical address space of eight pages of 1024 words each, mapped onto a physical memory of 32 frames. a. How many bits are there in the logical address? b. How many bits are there in the physical address? 8.5 What is the effect of allowing two entries in a page table to point to the same page frame in memory? Explain how this effect could be used to decrease the amount of time needed to copy a large amount of memory
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

8-exr - CHAPTER Memory Management Practice Exercises 8.1...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online