aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/sh.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/sh.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/sh.h')
-rw-r--r--riscv/insns/sh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/sh.h b/riscv/insns/sh.h
index 69234dc..22aa3a8 100644
--- a/riscv/insns/sh.h
+++ b/riscv/insns/sh.h
@@ -1 +1 @@
-MMU.store_uint16(BTYPE_EADDR, RS2);
+MMU.store_uint16(RS1 + insn.s_imm(), RS2);