diff --git a/insns/insn_types.md b/insns/insn_types.md new file mode 100644 index 0000000..5228a1f --- /dev/null +++ b/insns/insn_types.md @@ -0,0 +1,11 @@ +# RV32IM Instruction Types + +| Instruction type | Instructions | +| --- | --- | +| U-type | lui, auipc | +| UJ-type | jal | +| I-type | jalr, lb, lh, lw, lbu, lhu, addi, slti, sltiu, xori, ori, andi | +| SB-type | beq, bne, blt, bge, bltu, bgeu | +| S-type | sb, sh, sw | +| I-type (shift variation) | slli, srli, srai | +| R-type | add, sub, sll, slt, sltu, xor, srl, sra, or, and, mul, mulh, mulhsu, mulhu, div, divu, rem, remu |