作者luckyburgess (the one)
看板Grad-ProbAsk
标题[理工] [OS]-记忆体管理
时间Wed Oct 7 23:14:33 2009
题目是:
Consider a logical address space of eight pages of 1024 words each,
mapped onto a physical memory of 32 frames.
How many bits are there in the logical address?
洪逸的书上解答是:
因为page size=1024
所以d=10 bits
....
想问的是为什麽这边的单位是以word为主?
也就是1024word = 2的十次方word
而不是1024word = 2的12次方bytes呢
感谢!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.134.213.201
1F:推 bernachom:应该都可以吧,说明一下就好了? 10/08 00:02
2F:推 nowar100:哪一题阿 我怎没印象有这个 读的都忘了 (掩面) 10/08 00:04
3F:→ nowar100:不过的确大多都是用byte-address @@" 10/08 00:04
4F:推 bernachom:好像是96清大通讯的?! 10/08 00:05
5F:→ luckyburgess:所以是...都可以罗?? 有些题目好像都是以BYTE计算 囧 10/08 00:38
6F:推 bernachom:只是题目只是求bit数而已,又说是word就用word算应该可 10/08 00:42
7F:→ bernachom:以吧,如果用byte的话,就说明一下好了..这是我的想法.. 10/08 00:42
8F:→ luckyburgess:恩恩 感谢 10/08 00:52