Problem 2: Assume that the OS is using a memory paging method, memory pages are
ID: 3569439 • Letter: P
Question
Explanation / Answer
Each address in memory accesses only one word. We need to find the word to which the instruction belongs
1 page --------> 512 words -----------> 512/4 = 128 instructions
Hence,
Memory = 52*4
=208
Instruction #52 is page 1.
Memory = 113*4
= 452
= 452+512*1
= 964
Instruction #369 is page 2
Memory =128*4 = 512
=512+ 512*3
=2048
Instruction #512 is page 4.
Memory =100*4 =400
=400+512*4
=2448
Memory =128*4=512`
= 512 + 512*5=3072
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.