aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/cris.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index d0ac44b..7a949af 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-22 Hans-Peter Nilsson <hp@axis.com>
+
+ * cris.h (ADD_PC_INCR_OPCODE): New macro.
+
2001-03-21 Kazu Hirata <kazu@hxi.com>
* h8300.h: Fix formatting.
diff --git a/include/opcode/cris.h b/include/opcode/cris.h
index be02d4a..9276340 100644
--- a/include/opcode/cris.h
+++ b/include/opcode/cris.h
@@ -160,6 +160,8 @@ extern const char *const cris_cc_strings[];
#define JUMP_INDIR_Z_BITS (0xf2c0)
#define JUMP_PC_INCR_OPCODE \
(JUMP_INDIR_OPCODE + AUTOINCR_BIT * 0x0100 + REG_PC)
+#define ADD_PC_INCR_OPCODE \
+ (0xfa00 + (2 << 4) + AUTOINCR_BIT * 0x0100 + REG_PC)
/* Nop. */
#define NOP_OPCODE (0x050F)