From 21ebbf8ecfbef528551f1cc6a88401839057bc87 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Thu, 22 Mar 2001 16:09:20 +0000 Subject: * cris.h (ADD_PC_INCR_OPCODE): New macro. --- include/opcode/ChangeLog | 4 ++++ include/opcode/cris.h | 2 ++ 2 files changed, 6 insertions(+) (limited to 'include/opcode') diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index d0ac44b5b..7a949af1b 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 be02d4aff..927634050 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) -- cgit v1.2.3