* cris.h (ADD_PC_INCR_OPCODE): New macro.

This commit is contained in:
Hans-Peter Nilsson 2001-03-22 16:09:20 +00:00
parent e086534fc6
commit 21ebbf8ecf
2 changed files with 6 additions and 0 deletions

View 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.

View 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)