diff options
Diffstat (limited to 'riscv/insns/csrrw.h')
-rw-r--r-- | riscv/insns/csrrw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/csrrw.h b/riscv/insns/csrrw.h index fbccb77..4b16773 100644 --- a/riscv/insns/csrrw.h +++ b/riscv/insns/csrrw.h @@ -1,2 +1,2 @@ -int csr = validate_csr(insn.i_imm(), true); +int csr = validate_csr(insn.csr(), true); WRITE_RD(p->set_pcr(csr, RS1)); |