aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/cris.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2001-03-22 16:09:20 +0000
committerHans-Peter Nilsson <hp@axis.com>2001-03-22 16:09:20 +0000
commit7ccb52381a79f380b63b61a91eec6e17becea2d9 (patch)
tree05e612a7061e37316b25fb9993abe5f370e07cbb /include/opcode/cris.h
parenta88e356aabe2f4c08d3b4a2c0d586fb9269aea21 (diff)
downloadgdb-7ccb52381a79f380b63b61a91eec6e17becea2d9.zip
gdb-7ccb52381a79f380b63b61a91eec6e17becea2d9.tar.gz
gdb-7ccb52381a79f380b63b61a91eec6e17becea2d9.tar.bz2
* cris.h (ADD_PC_INCR_OPCODE): New macro.
Diffstat (limited to 'include/opcode/cris.h')
-rw-r--r--include/opcode/cris.h2
1 files changed, 2 insertions, 0 deletions
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)