From 7ccb52381a79f380b63b61a91eec6e17becea2d9 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Thu, 22 Mar 2001 16:09:20 +0000 Subject: [PATCH] * cris.h (ADD_PC_INCR_OPCODE): New macro. --- include/opcode/ChangeLog | 4 ++++ include/opcode/cris.h | 2 ++ 2 files changed, 6 insertions(+) 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) -- 2.30.2