Lab2 指令集流水化实验报告学号:12281166 姓名:崔雪莹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+2025=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 ) +2025=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 , ALUOut 800 , ALUOP = ADD , Why 因为立即数是 偏移量 , 所以运算器是对 R8 和 — 200 求和,得到的为目的地址 。 LMD 525252 , Rdest 7 why this? 因为没有 ...