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 (