aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/tic80/ChangeLog5
-rw-r--r--sim/tic80/alu.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/sim/tic80/ChangeLog b/sim/tic80/ChangeLog
index b1f9d09..1b1a167 100644
--- a/sim/tic80/ChangeLog
+++ b/sim/tic80/ChangeLog
@@ -1,3 +1,8 @@
+Fri May 9 09:55:33 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * alu.h (long_immediate): Adjust the CIA delay-pointer as well as
+ the NIA when a 64bit insn.
+
Thu May 8 11:57:47 1997 Michael Meissner <meissner@cygnus.com>
* insns (jsr,bsr): For non-allulled calls, set r31 so that the
diff --git a/sim/tic80/alu.h b/sim/tic80/alu.h
index 1bb4054..4300723 100644
--- a/sim/tic80/alu.h
+++ b/sim/tic80/alu.h
@@ -56,6 +56,7 @@ do { \
#define long_immediate(VARIABLE) \
unsigned_word VARIABLE = MEM (unsigned, nia.ip, 4); \
+ cia.dp += sizeof (instruction_word); \
nia.ip += sizeof (instruction_word); \
nia.dp += sizeof (instruction_word);