aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/lhu.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2013-09-11 03:12:11 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2013-09-11 03:12:11 -0700
commite07148ac533c318780387b1a27d39e060753cd45 (patch)
tree065f9330d3722dc8e5c7acfc44ca56a6f5934363 /riscv/insns/lhu.h
parent01dab8dbd6dbad38da740d963975b71bf524c39f (diff)
downloadriscv-isa-sim-e07148ac533c318780387b1a27d39e060753cd45.zip
riscv-isa-sim-e07148ac533c318780387b1a27d39e060753cd45.tar.gz
riscv-isa-sim-e07148ac533c318780387b1a27d39e060753cd45.tar.bz2
Implement zany immediates
Diffstat (limited to 'riscv/insns/lhu.h')
-rw-r--r--riscv/insns/lhu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/lhu.h b/riscv/insns/lhu.h
index 71c21be..842a752 100644
--- a/riscv/insns/lhu.h
+++ b/riscv/insns/lhu.h
@@ -1 +1 @@
-RD = MMU.load_uint16(ITYPE_EADDR);
+RD = MMU.load_uint16(RS1 + insn.i_imm());