]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* cris.h (ADD_PC_INCR_OPCODE): New macro.
authorHans-Peter Nilsson <hp@axis.com>
Thu, 22 Mar 2001 16:09:20 +0000 (16:09 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Thu, 22 Mar 2001 16:09:20 +0000 (16:09 +0000)
include/opcode/ChangeLog
include/opcode/cris.h

index d0ac44b5bff8ed0c21b5320ec39915cfaf8e5b93..7a949af1bca444ba3238346d84056fef9b425b3e 100644 (file)
@@ -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.
index be02d4aff3bca5fc1def8c45928ad7b18862e96d..9276340507472a043efdc3b7191e80c5be11d9ff 100644 (file)
@@ -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)