[理工] 計組 the direct addressing mode

作者: newpuma (還很新)   2016-12-17 15:49:51
題目:
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也不是很懂...
作者: Transfat (Transfat)   2016-12-17 18:32:00
題目說找錯誤的選項欸,所以A是錯的吧indexed mode我上網查了一下,和Base addressing mode差不多,可參考啊啊 網址太長了貼不下反正打computer architecture indexed mode會有啦
作者: aa06697 (todo se andarà)   2016-12-17 19:52:00
使用mips的就不會support喔只有課本上那五種 另外像是stack machine也不會有
作者: r901042004 (憲)   2016-12-17 20:56:00
可以參考MSP430的架構,addressing mode有很多種
作者: PTTleader (PTT領導)   2016-12-18 11:09:00

Links booklink

Contact Us: admin [ a t ] ucptt.com