Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 726 Bytes

8.md

File metadata and controls

27 lines (17 loc) · 726 Bytes

指令类型

opcode:

rd:destination register

funct3:

rs1:source register 1

rs2:

funct7:

imm:immediate

R 31 - 25 24 - 20 19 - 15 14 - 12 11 - 7 6 - 0
funct7 rs2 rs1 funct3 rd opcode
I 31 - 20 19 - 15 14 - 12 11 - 7 6 - 0
imm12[11:0] rs1 funct3 rd opcode
S 31 - 25 24 - 20 19 - 15 14 - 12 11 - 7 6 - 0
imm[11:5] rs2 rs1 funct3 imm[4:0] opcode