看板 Grad-ProbAsk 關於我們 聯絡資訊
題目: Addressing modes constitute a very important topic when people discuss alterna tive designs of CPUs. Common addressing modes include register, immediate, dir ect, and PC-relative mode, etc. Find a wrong statement from the following choi ces. (A) Every CPU supports the direct addressing mode. (B) In practice, having immediate, direct, register, and indexed mode is enough fo r almost all applications. (C) Compilers are in charge of finding the best addressing modes for statements wr itten in high-level languages. (D) When offering a limited number of addressing modes, the architecture must make sure that common applications will be computable. (E) none of the above. 答案是給A,我不是很明白為什麼,有辦法舉出反例之類的嗎,比如哪一種架構的電腦不 使用直接定址(只使用其他的定址方式)? B選項的indexed mode也不是很懂... -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 223.137.122.253 ※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1481960993.A.75A.html ※ 編輯: newpuma (223.137.122.253), 12/17/2016 16:33:22
Transfat: 題目說找錯誤的選項欸,所以A是錯的吧12/17 18:32
小弟精神狀況差 眼殘QQ
Transfat: indexed mode我上網查了一下,和Base addressing mode差 12/17 18:34
Transfat: 不多,可參考12/17 18:35
Transfat: 啊啊 網址太長了貼不下12/17 18:36
Transfat: 反正打computer architecture indexed mode會有啦 12/17 18:36
aa06697: 使用mips的就不會support喔只有課本上那五種 另外像是sta12/17 19:52
aa06697: ck machine也不會有12/17 19:52
感恩感恩!
r901042004: 可以參考MSP430的架構,addressing mode有很多種 12/17 20:56
※ 編輯: newpuma (223.137.122.253), 12/17/2016 21:31:14
PTTleader: http://imgur.com/a/kjYDP 12/18 11:09