精華區beta TransCSI 關於我們 聯絡資訊
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)? 想了很久...請問一下要如何解阿...感恩!! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 222.157.101.38 > -------------------------------------------------------------------------- < 作者: 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 > -------------------------------------------------------------------------- < 作者: flashstar (閃亮的星) 看板: TransCSI 標題: Re: [問題] 政大92 時間: Mon Jun 27 16:09:23 2005 ※ 引述《darkhero (嘿嚇~~HERO)》之銘言: : ※ 引述《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 (我理解的@@") 這裡的 hold a two-address 指的是指令格式可以支援"兩個"operand(運算元) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.236.229