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