aboutsummaryrefslogtreecommitdiff
path: root/sim/tic80
diff options
context:
space:
mode:
Diffstat (limited to 'sim/tic80')
-rw-r--r--sim/tic80/ChangeLog2
-rw-r--r--sim/tic80/insns2
2 files changed, 3 insertions, 1 deletions
diff --git a/sim/tic80/ChangeLog b/sim/tic80/ChangeLog
index 2d18e39..e10d5d8 100644
--- a/sim/tic80/ChangeLog
+++ b/sim/tic80/ChangeLog
@@ -1,5 +1,7 @@
Wed Aug 27 13:41:24 1997 Andrew Cagney <cagney@b1.cygnus.com>
+ * insns (do_st): Use U8_4 instead of V4_L8.
+
* sim-calls.c (sim_open): Add call to sim_analyze_program, update
call to sim_config.
diff --git a/sim/tic80/insns b/sim/tic80/insns
index 0da69a6..fbbe6ff 100644
--- a/sim/tic80/insns
+++ b/sim/tic80/insns
@@ -1059,7 +1059,7 @@ void::function::do_st:int Source, unsigned32 base, unsigned32 *rBase, int m , in
"0x%lx: st.d with odd source register %d",
cia.ip, Source);
addr = base + (S ? (offset << 3) : offset);
- val = (V4_H8 (GPR(Source + 1)) | V4_L8 (GPR(Source)));
+ val = U8_4 (GPR(Source + 1), GPR(Source));
STORE (addr, 8, val);
}
break;