- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
MIPS Architecture.ppt
MIPS Architecture CPSC 321 Computer Architecture Andreas Klappenecker MIPS Design Paradigms Simplicity favors regularity all instructions single size three register operands in arithmetic instr. keep register fields in the same place Smaller is faster 32 registers Make good compromises large addresses and constants versus unique instruction length Make the common case fast PC-relative addressing for conditional branches Basic Functional Components Control unit Register file Arithmetic logic unit (ALU) Program counter (PC) Memory Instruction register (IR) MIPS R2000 Several firsts: First RISC microprocessor First microprocessor to provide integrated support for instruction data cache First pipelined microprocessor (sustains 1 instruction/clock) Implemented in 1985 125,000 transistors 5-8 MIPS How can we load a 32bit constant? How can we load $s0 with 0000 0000 0011 1101 0000 1001 0000 0000 Load upper 16bits with lui $s0, Ox003d so that $s0 contains 0000 0000 0011 1101 0000 0000 0000 0000 Add immediate 16bit value to complete load addi $s0, $s0, 0x0900 so that $s0 contains value 0000 0000 0011 1101 0000 1001 0000 0000 MIPS Addressing Modes Register addressing Base displacement addressing Immediate addressing PC-relative addressing address is the sum of the PC and a constant in the instruction Pseudo-direct addressing jump address is 26bits of instruction concatenated with upper bits of PC What next? Details of the arithmetic logic unit Chapter 4 Project: Build your own ALU Details of datapath and control Chapter 5 Project: Build your own CPU Pipelining Caching * * Simplified Datapath Diagram Program Counter (PC) Instruction Register Register File ALU Memory Data In Address 4 Rs Rt Rd Control Logic ? $t8 24 $s7 23 $s6 22 $s5 21 $s4 20 $s3 19 $s2 18 $s1 17 $s0 16 $t7 15 $t6 14 $t5 13 $t4 12 $t3 11 $t2 10 $t1 9 $t0 8 $a3 7 $a2 6 $a1 5 $a0 4 $v1 3 $v0 2 $at 1 $zero 0 Number Name Value Registers pass parameters to functions return values from functions $s0-$s7
您可能关注的文档
- FAMILY PLANNING AND QUALITY OF CARE.PPT
- Famous Victorians.ppt
- February 16, 2010.ppt
- Feline Reproductive Physiology.ppt
- FemtoCells At Home Integrated into the Home Gateway .ppt
- FERC's Initiativeson Energy Infrastructure.ppt
- FFF-møte 26.02.14.ppt
- FGCS MeetingDenver, ColoradoJune 13, 2007.ppt
- FIDIC 2005 BeijingWorkshop 14.ppt
- Figure 13. Significant growing season correlations for segment .ppt
- Module 11 PopulationUnit1 It's the biggest city in China..ppt
- Module 13 Claims & Appeals.ppt
- Module 13 External Quality Assessment (EQA).ppt
- Module 18 Protection.ppt
- Moldova Health Profile.ppt
- MongoDB实验指导.ppt
- Morbidity coding in Brazil.ppt
- Ms. Susan M. PojerHorace Greeley HS Chappaqua, NY.ppt
- Multinational Capital Budgeting(or parts of chapter 16).ppt
- MultiplicationDivisionJeopardy.ppt
文档评论(0)