作者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