作者ccpz (OoOoOo)
看板TransCSI
标题Re: [请益] 请教一个简单的计概填充题
时间Tue Apr 10 12:51:02 2007
※ 引述《choufeng (Timothy)》之铭言:
: A computer has 256MB of memory. The word size of this computer is
: 64 bits. How many bits are needed to address any single word in memory?
: 请教这题要如何来看呢?谢谢。
先看一共几个 word:
一个 word 64/8=8byte
总共 256 MB, 所以有 256MB /8 = 32 M(1024*1024) = 2^25 个 word
要定址就是每一个 word 都要给他一个号码当 address
所以总共是 2^25 个 address
要 25 bit 才能表示
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.92.1