aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/di.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/di.h')
-rw-r--r--riscv/insns/di.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/di.h b/riscv/insns/di.h
index 0f3adf9..31280d5 100644
--- a/riscv/insns/di.h
+++ b/riscv/insns/di.h
@@ -1,4 +1,4 @@
require_supervisor;
uint32_t temp = sr;
set_sr(sr & ~SR_ET);
-RDR = temp;
+RD = temp;