作者jwcs ()
看板Grad-ProbAsk
标题Re: [理工] [计组]-96中山-电机所
时间Sun Jan 24 17:27:47 2010
※ 引述《assassin88 (2010)》之铭言:
: 一、题目在这:http://www.lib.nsysu.edu.tw/exam/master/eng/elec/elec_96.pdf
: (第十一页第二题的第一小题..)
: OP Immediate
: 想请问第一小题答案为什麽答案给这样: 8 24
: 一般来说 op 不是6吗?
题目第一行有写 the first byte contain the OP code
故为 8bits
: 二、Do we need to know the ISA while design a good compiler?Why?
: 请问这一题该怎麽回答,是应该说为了设计出好的compiler须先了解ISA的特性吗?
: 麻烦解答了~感谢。
Compiler 将高阶语言转为组合语言,若是不知道 ISA 结构,也就是不知道输出格式
所以我们必须要清楚 ISA架构。
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.120.153.223
1F:推 assassin88:原来在题目里XDD~thx 01/24 20:27