RISC-V指令集

risc-v有六种基本指令格式:

其中rd, rs1, rs2各占用5bit,funct3占用3bit, funct7占用7bit, opcode占用7bit, 加起来一条指令固定占用32bit