[理工] 计组 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