notes.txt 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. lui rd imm20 6..2=0x0D 1..0=3 u rv32i rv64i rv128i
  2. auipc rd oimm20 6..2=0x05 1..0=3 u+o rv32i rv64i rv128i
  3. jal rd jimm20 6..2=0x1b 1..0=3 uj rv32i rv64i rv128i
  4. jalr rd rs1 oimm12 14..12=0 6..2=0x19 1..0=3 i+o rv32i rv64i rv128i
  5. beq rs1 rs2 sbimm12 14..12=0 6..2=0x18 1..0=3 sb rv32i rv64i rv128i
  6. bne rs1 rs2 sbimm12 14..12=1 6..2=0x18 1..0=3 sb rv32i rv64i rv128i
  7. blt rs1 rs2 sbimm12 14..12=4 6..2=0x18 1..0=3 sb rv32i rv64i rv128i
  8. bge rs1 rs2 sbimm12 14..12=5 6..2=0x18 1..0=3 sb rv32i rv64i rv128i
  9. bltu rs1 rs2 sbimm12 14..12=6 6..2=0x18 1..0=3 sb rv32i rv64i rv128i
  10. bgeu rs1 rs2 sbimm12 14..12=7 6..2=0x18 1..0=3 sb rv32i rv64i rv128i
  11. lb rd rs1 oimm12 14..12=0 6..2=0x00 1..0=3 i+l rv32i rv64i rv128i
  12. lh rd rs1 oimm12 14..12=1 6..2=0x00 1..0=3 i+l rv32i rv64i rv128i
  13. lw rd rs1 oimm12 14..12=2 6..2=0x00 1..0=3 i+l rv32i rv64i rv128i
  14. lbu rd rs1 oimm12 14..12=4 6..2=0x00 1..0=3 i+l rv32i rv64i rv128i
  15. lhu rd rs1 oimm12 14..12=5 6..2=0x00 1..0=3 i+l rv32i rv64i rv128i
  16. sb rs1 rs2 simm12 14..12=0 6..2=0x08 1..0=3 s rv32i rv64i rv128i
  17. sh rs1 rs2 simm12 14..12=1 6..2=0x08 1..0=3 s rv32i rv64i rv128i
  18. sw rs1 rs2 simm12 14..12=2 6..2=0x08 1..0=3 s rv32i rv64i rv128i
  19. addi rd rs1 imm12 14..12=0 6..2=0x04 1..0=3 i rv32i rv64i rv128i
  20. slti rd rs1 imm12 14..12=2 6..2=0x04 1..0=3 i rv32i rv64i rv128i
  21. sltiu rd rs1 imm12 14..12=3 6..2=0x04 1..0=3 i rv32i rv64i rv128i
  22. xori rd rs1 imm12 14..12=4 6..2=0x04 1..0=3 i rv32i rv64i rv128i
  23. ori rd rs1 imm12 14..12=6 6..2=0x04 1..0=3 i rv32i rv64i rv128i
  24. andi rd rs1 imm12 14..12=7 6..2=0x04 1..0=3 i rv32i rv64i rv128i
  25. slli rd rs1 shamt5 31..27=0 14..12=1 6..2=0x04 1..0=3 i·sh5 rv32i
  26. srli rd rs1 shamt5 31..27=0 14..12=5 6..2=0x04 1..0=3 i·sh5 rv32i
  27. srai rd rs1 shamt5 31..27=8 14..12=5 6..2=0x04 1..0=3 i·sh5 rv32i
  28. add rd rs1 rs2 31..25=0 14..12=0 6..2=0x0C 1..0=3 r rv32i rv64i rv128i
  29. sub rd rs1 rs2 31..25=32 14..12=0 6..2=0x0C 1..0=3 r rv32i rv64i rv128i
  30. sll rd rs1 rs2 31..25=0 14..12=1 6..2=0x0C 1..0=3 r rv32i rv64i rv128i
  31. slt rd rs1 rs2 31..25=0 14..12=2 6..2=0x0C 1..0=3 r rv32i rv64i rv128i
  32. sltu rd rs1 rs2 31..25=0 14..12=3 6..2=0x0C 1..0=3 r rv32i rv64i rv128i
  33. xor rd rs1 rs2 31..25=0 14..12=4 6..2=0x0C 1..0=3 r rv32i rv64i rv128i
  34. srl rd rs1 rs2 31..25=0 14..12=5 6..2=0x0C 1..0=3 r rv32i rv64i rv128i
  35. sra rd rs1 rs2 31..25=32 14..12=5 6..2=0x0C 1..0=3 r rv32i rv64i rv128i
  36. or rd rs1 rs2 31..25=0 14..12=6 6..2=0x0C 1..0=3 r rv32i rv64i rv128i
  37. and rd rs1 rs2 31..25=0 14..12=7 6..2=0x0C 1..0=3 r rv32i rv64i rv128i