diff options
Diffstat (limited to 'riscv/insns/c_lwsp.h')
-rw-r--r-- | riscv/insns/c_lwsp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/insns/c_lwsp.h b/riscv/insns/c_lwsp.h index ed4dcf3..b3d74db 100644 --- a/riscv/insns/c_lwsp.h +++ b/riscv/insns/c_lwsp.h @@ -1,2 +1,3 @@ require_extension('C'); +require(insn.rvc_rd() != 0); WRITE_RD(MMU.load_int32(RVC_SP + insn.rvc_lwsp_imm())); |