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