For each RISC-V instruction show the value of the opcode (op), source register (rs1) and destination register (rd) fields. For the I-type instructions show the value of the immediate field, and for the R-type instructions, show the value of the second source register (rs2). For non-U and UJ show the funct3 field, and for the R-type and S-type instructions also show the funct7 field if it is part of the instruction. Instruction type rs1 rs2 rd Immediate opcode, funct 3, funct 7 Ox13, oxo, — I-type 10 — 30 8 (ex) addi x30, x10, 8 addi x31, X10, 0 sd x31, 0(x30) ld X30, (X30) add X5, X30, X31 Show transcribed image text For each RISC-V instruction show the value of the opcode (op), source register (rs1) and destination register (rd) fields. For the I-type instructions show the value of the immediate field, and for the R-type instructions, show the value of the second source register (rs2). For non-U and UJ show the funct3 field, and for the R-type and S-type instructions also show the funct7 field if it is part of the instruction. Instruction type rs1 rs2 rd Immediate opcode, funct 3, funct 7 Ox13, oxo, — I-type 10 — 30 8 (ex) addi x30, x10, 8 addi x31, X10, 0 sd x31, 0(x30) ld X30, (X30) add X5, X30, X31
Expert Answer
Answer to For each RISC-V instruction show the value of the opcode (op), source register (rs1) and destination register (rd) field…