diff options
Diffstat (limited to 'riscv/insns/mtcr.h')
-rw-r--r-- | riscv/insns/mtcr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/riscv/insns/mtcr.h b/riscv/insns/mtcr.h index d7b2b17..ba55899 100644 --- a/riscv/insns/mtcr.h +++ b/riscv/insns/mtcr.h @@ -1,10 +1,10 @@ -switch(insn.rtype.rb) +switch(insn.rtype.rs2) { case 0: - set_fsr(RA); + set_fsr(RS1); break; case 29: - tid = RA; + tid = RS1; break; } |