# 積體電路製程  # IC cost  - Wafer cost跟area是固定的 - Defect rate會提供 - Die area看製成跟電路設計(總之越大越難做) # CPU Time   improve by - 讓事情做的次數減少(減少clock cycles) - 讓指令簡單 工作做更快(減少clock rate) - 要在兩個中做取捨(寫簡單的指令做多次、寫複雜的指令做少次) - 例題:  # Instruction Count & CPI   # Memory-Memory ISAs & Accumulator Machines - MMI較慢 缺點是會用到很多記憶體 - AM雖然快一點 但還是會用到一些不需的暫存 優點是在某些一連串的計算有機會可以直接只存答案就好 # Addressing Modes  - Direct: M[40]這個記憶體位置的東西給R1, Immediate: 把40這個值直接塞進R1   # RISC 標準  # MIPS  Shift Operations  NOT Operations  # 載32位元常數  # 小筆記 - Response time 做task的速度 (個人關心) - Throughput 單位時間能做的總工作量 tasks/hour (數據中心管理員) -  - MIPS million instructions per second= ${IC\over time*10^6}={clock\ rate\over CPI*10^6 }$ 不看指令架構、複雜度 所以不是一個好的效能評估依據 - halfwords 存在偶數的addresses - MIPS 支援不對齊和特殊指示雖然很慢 但大多數processors根本不允許 - big-endian 從大的往後放(MIPS, Sparc, 68000) little-endian 從小的往前放(most Intel processors, Alpha, VAX) - LSB: least significant bit(最右邊的位元, MSB: most significant bit(最左邊的位元) -  -  - lui(load upper immediate)載一個16位元的東東塞到32位元的前16位元 -  -  -   frac{(3x^3+5)(x+3)(x+1)}{(x-5)(x-3)(x-1)}}
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up