Refactor supported instructions to improve code reuse #1
|
@ -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 |
|
Loading…
Reference in New Issue