作者kuokuo321 (kuokuo)
看板b95902HW
標題[問題]組語 about ALU
時間Mon Nov 12 01:54:51 2007
老師的投影上寫說
Can we combine 5 bits into 3 bits for 7 opearation?
Yes, you can. But you will still need 5 bits at the end.
有人可以跟我說一下為什麼還是要5 bits嗎???
如果把加法減法分開 shift左右分開...這樣不是只要3bit??
還有額外的一個問題
怎麼決定要shift right or left???
在shifter上會是怎麼implementation??
再加一個問題
2006考古題第五題的答案阿
為什麼MuXA要是1??
我的作業被改要是0耶....說muxa is always 0 at execute stage!
那到底是怎樣呢??(還有這題的答案ldi?? sti??)
感謝~~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.244.176
※ 編輯: kuokuo321 來自: 140.112.244.176 (11/12 02:12)
推 joejoe321321:第一個或許跟實做可不可簡化有關吧...我猜 11/12 03:05
→ joejoe321321:shift是可以用一個組件直接組好left和right的 11/12 03:06
→ joejoe321321:一個上三角 一個下三角 再用一個gate控制 11/12 03:07
→ joejoe321321:第三 muxa比較特別 它直接連結到execute 11/12 03:09
→ joejoe321321:是否要寫入PC是PC writeable的事 11/12 03:11
→ joejoe321321:理論上有時候是可以為* 不過實際上不是 11/12 03:12
→ joejoe321321:至於跟作業有出入....是因為作業的10顛倒了 11/12 03:14
→ joejoe321321:(其實考古題的圖也還是錯的= =) 11/12 03:15
→ joejoe321321:MUXA應該要上面為1 下面為0才對 11/12 03:16