- 1、本文档共7页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
作业2—lab2指令集流水化实验—计算机体系结构要点
Lab2 指令集流水化实验报告学号 姓名:崔雪莹Exercise 1:What is hex code for NOP or SLL R0, R0, R0 00 00 00 00 H .Exercise 2:By looking at the binary code of the instruction, discover the following fields: Rs: 00100 , Rt: 00011 , Rd 00101 , 16-bit Imm (Imm16)0010 1000 0010 0000 , Shift amount 00000 , Function Code 100000 , Write MemWrite 0 and RegWrite 1 for this instruction. What is use of 16-bit Immediate field in this instruction? 16位立即数是对branch指令来说的跳转目的地址的偏移地址,add指令没有作用。If the same instruction were a Branch instruction, the immediate field would have represented a Branch Offset. What is the potential Target Address 43092 立即数十进制表示为10272,目的地址为10272*4+2004=43092 Exercise 3:LW Instruction Rs: 01000 , Rt 00111 , Rd 32(00000) , 16-bit Imm (Imm16) 1111 1111 0011 1000 , Shift amount 29(11101), Function Code 100011 , Write MemWrite 0 and RegWrite 1 for this instruction. What is use of Function filed and Shift Amount in this instruction? 操作数表明操作为LW读操作,是指令操作的唯一标记,移位量是相对与移位指令来说移几位,在LW指令没有作用。If the same instruction were a Branch instruction, the immediate field would have represented a Branch Offset. What is the potential Target Address 1204 ,(-200*4)+2004=1204 。Exercise 4: Branch Target Found Adress 1204 , Is It same as EX.3是? B input to ALU -200 , Why? 因为对于I型指令只有rs,rt和立即数,没有rd,是rs和立即数Imm运算的结果进行操作,所以B最终送ALU的是立即数而不是rt, ALUOut800 , ALUOP = ADD , Why 因为立即数是偏移量,所以运算器是对R8和-200求和,得到的为目的地址. LMD 525252, Rdest 7 why this? 因为没有rd,但是是取800地址的内容,回送到R7里。RegWrite 1 ,MemWrite 0 , What are two values at the input of very last MUX in the WB stage 525252 , 800 , Which value is selected 525252 , why因为最终写回的是525252的值,而不是ALU运算的结果800 . Final Register File Values. R7 , 525252 , R8 , 1000 .Exercise 5:SW instruction Rs: 01000 , Rt 00111 , Rd 32(00000) , 16-bit Imm (Imm16) 1111 1111 0011 1000 ,, Shift amount 28(11100), Function Code 101011 , Write MemWrite 1 and RegWrite 0 for this instruction. What
您可能关注的文档
- 毕业论文..doc
- 毕业论文2015.4.5.doc
- 传动系统概述.ppt
- 毕业论文——李莉.doc
- 毕业论文中期答辩PPT模板.ppt
- 毕业论文《浅析平凡的世界中的乡土意识》.doc
- 毕业论文从选题到书写(罗勇).ppt
- 毕业论文内容要求模板.docx
- 毕业班励志主题班会.ppt
- 毕业论文开题报告模板.doc
- 第17课 明朝的灭亡和清朝的建立 巩固练习 2024-2025学年下期初中历史统编版七年级下.docx
- 人教版(2019)必修三 Unit 1 Festivals and Celebrations Lis.pptx
- 人教版(2019)必修三 Unit 3 Diverse Cultures Reading for W.pptx
- 人教版(2019) 必修第一册 Unit 1 Teenage Life Reading and.pptx
- 人教版(2019)必修第一册Unit 2 Travelling Around Reading and.pptx
- 六年级单元作文复习.pptx
- 【作文写作法则】(初中语文)第10讲 常考应用文写作模板 学案.doc
- Unit 8 Once upon a Time 重点语法 专题练 2024-2025学.docx
- 人教版(2019)必修第一册Unit 3 Sports and fitness Reading fo.pptx
- 期末综合模拟试题 2024-2025学年下期初中道德与法治统编版八年级下册 (1).docx
文档评论(0)