aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/lb.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/lb.h')
-rw-r--r--riscv/insns/lb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/lb.h b/riscv/insns/lb.h
index 36acd7b..0f0999c 100644
--- a/riscv/insns/lb.h
+++ b/riscv/insns/lb.h
@@ -1 +1 @@
-RD = MMU.load_int8(RS1 + insn.i_imm());
+WRITE_RD(MMU.load_int8(RS1 + insn.i_imm()));