作者darkhero (嘿吓~~HERO)
看板TransCSI
标题Re: [问题] 政大92
时间Mon Jun 27 02:57:54 2005
※ 引述《chen0404 (这个冬天会很暖)》之铭言:
: A computer desinger designs a new computer that has 60 instructions in the
: machine language and the maximal addresable memory
: space is 512 MB .
: (a)how many bits will be used in the instruction register to hold a
: two-address instruction?
: (b)what will be the decoder's input and output size used for IR(op)?
: 想了很久...请问一下要如何解阿...感恩!!
a.60 instruction=6 bits , 512MB=2^29=29 bits so 29*2+6=64 bits
2^5<60<2^6....所以6bits, hold a two-address 所以要29*2 (我理解的@@")
b.IR(op)的指令操作码要6 bits ,输入需6bit ,输出需2^6=64种
这题就酱= ="
老师给的答案......只帮这样罗!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.217.226.49