aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/amow_add.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/amow_add.h')
-rw-r--r--riscv/insns/amow_add.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/amow_add.h b/riscv/insns/amow_add.h
index a55ddf9..033b3c8 100644
--- a/riscv/insns/amow_add.h
+++ b/riscv/insns/amow_add.h
@@ -1,3 +1,3 @@
reg_t v = mmu.load_int32(RS1);
mmu.store_uint32(RS1, RS2 + v);
-RDR = v;
+RD = v;