diff options
Diffstat (limited to 'capstone/suite/MC/RISCV')
-rw-r--r-- | capstone/suite/MC/RISCV/insn-riscv32.s.cs | 13 | ||||
-rw-r--r-- | capstone/suite/MC/RISCV/insn-riscv64.s.cs | 8 |
2 files changed, 21 insertions, 0 deletions
diff --git a/capstone/suite/MC/RISCV/insn-riscv32.s.cs b/capstone/suite/MC/RISCV/insn-riscv32.s.cs new file mode 100644 index 000000000..acac1c76c --- /dev/null +++ b/capstone/suite/MC/RISCV/insn-riscv32.s.cs @@ -0,0 +1,13 @@ +# CS_ARCH_RISCV, CS_MODE_RISCV32, None +0x37,0x34,0x00,0x00 = lui s0, 3 +0x97,0x82,0x00,0x00 = auipc t0, 8 +0x2f,0xae,0xaa,0x0a = amoswap.w.rl t3, a0, (s5) +0xe3,0x1f,0x31,0x5e = bne sp, gp, 0xdfe +0x73,0x00,0x00,0x00 = ecall +0x33,0x00,0x31,0x02 = mul zero, sp, gp +0x53,0x00,0x31,0x28 = fmin.s ft0, ft2, ft3 +0x53,0x10,0x31,0x2a = fmax.d ft0, ft2, ft3 +0x27,0xaa,0x6a,0x00 = fsw ft6, 0x14(s5) + +// issues +0xef,0xf0,0x1f,0xff = jal -0x10 diff --git a/capstone/suite/MC/RISCV/insn-riscv64.s.cs b/capstone/suite/MC/RISCV/insn-riscv64.s.cs new file mode 100644 index 000000000..dfcbb309d --- /dev/null +++ b/capstone/suite/MC/RISCV/insn-riscv64.s.cs @@ -0,0 +1,8 @@ +# CS_ARCH_RISCV, CS_MODE_RISCV64, None +0x13,0x04,0xa8,0x7a = addi s0, a6, 0x7aa +0x1b,0x8e,0xaa,0x2a = addiw t3, s5, 0x2aa +0x2f,0xbe,0xaa,0x0a = amoswap.d.rl t3, a0, (s5) +0x3b,0x00,0x31,0x02 = mulw zero, sp, gp +0x53,0xa0,0x31,0xd0 = fcvt.s.lu ft0, gp, rdn +0x53,0x81,0x01,0xf2 = fmv.d.x ft2, gp + |