1. Assuming a 512 bytes memory and the page size is 32 bytes, CPU can address 1
ID: 3705981 • Letter: 1
Question
1. Assuming a 512 bytes memory and the page size is 32 bytes, CPU can address 1 byte. What are the page numbers and offsets for the following logical address references:
a. 24 (5 points)
b. 128 (5 points)
c. 267 (5 points)
d. 500 (5 points)
1. Assuming a 512 bytes memory and the page size is 32 bytes, CPU can address 1 word (4 bytes):
a. How many bit for the physical address? (4 points)
b. How many bit for the logical address? (4 points)
0 10 1 9 2 5 3 6 4 8 5 13 6 0 7 15 8 4 9 14 10 1 11 12 12 11 13 7 14 3 15 2Explanation / Answer
Solution:
No. of bits used for addressing = 8 bits (1 byte which is given )
Since the page size is 32 bytes so the no. of page offset bits = 5 (because 25 = 32)
No. of page no. bits = 8 - 5 = 3
Use this information for now I will provide details in comments. Hope you understand.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.