看板 Grad-ProbAsk 關於我們 聯絡資訊
What is x if the maximom number of memory words you can use in a 32-bit MIPS machine in a single program is expressed by 2^x? (Note : MIPS use a byte addressing scheme) Ans : x = 28 疑問 : 2^32 = 4GBytes = 1G Words = 2^30 ? 一個word = 4 byte ? 我哪邊有想錯嗎???? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.166.52.51
mingcloud:附帶一下出處 :張帆題庫班 T1 P31 第九題 12/04 23:18
BaaaSwin:這題答案有錯,應該是26(32-4-2) 12/04 23:19
BaaaSwin:張凡有更正 12/04 23:19
mingcloud:再減二 是因為jump能跳的範圍是256M的關係嗎? 12/04 23:22
BaaaSwin:YES,切成16塊->減4,byte轉word->減2 12/04 23:23
mingcloud:感謝 上課睡著果然沒好下場Q_Q 12/04 23:24
BaaaSwin:我坐第一排也常常睡= = 12/04 23:24