From: Hans-Peter Nilsson Date: Thu, 22 Mar 2001 16:09:20 +0000 (+0000) Subject: * cris.h (ADD_PC_INCR_OPCODE): New macro. X-Git-Tag: dberlin-typesystem-branchpoint~945 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ccb52381a79f380b63b61a91eec6e17becea2d9;p=thirdparty%2Fbinutils-gdb.git * cris.h (ADD_PC_INCR_OPCODE): New macro. --- diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index d0ac44b5bff..7a949af1bca 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2001-03-22 Hans-Peter Nilsson + + * cris.h (ADD_PC_INCR_OPCODE): New macro. + 2001-03-21 Kazu Hirata * h8300.h: Fix formatting. diff --git a/include/opcode/cris.h b/include/opcode/cris.h index be02d4aff3b..92763405074 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)