From 3adb6ca9182d6904c7a7a307a5172aad563e7f0b Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Sun, 4 Apr 1993 22:23:24 +0000 Subject: [PATCH] * config/tc-h8500.c: Get relax size of branch instructions right, (get_operand): Parse @sp+ correctly. --- gas/config/tc-h8500.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gas/config/tc-h8500.c b/gas/config/tc-h8500.c index a29e7f0..8f37cec 100644 --- a/gas/config/tc-h8500.c +++ b/gas/config/tc-h8500.c @@ -83,7 +83,7 @@ const char FLT_CHARS[] = "rRsSfFdDxXpP"; #define END 4 #define BYTE_F 127 -#define BYTE_B -128 +#define BYTE_B -126 #define WORD_F 32767 #define WORD_B 32768 @@ -452,7 +452,7 @@ get_operand (ptr, op, ispage) int mode; unsigned int num; unsigned int len; - + op->page = 0; if (src[0] == '(' && src[1] == 'r') { /* This is a register list */ @@ -681,6 +681,12 @@ get_specific (opcode, operands) continue; } break; + case SPINC: + if (user->type == RNINC && user->reg == 7) + { + continue; + } + break; case ABS16: if (user->type == ABS16) { -- 2.7.4