diff options
author | Steve Chamberlain <sac@cygnus> | 1993-04-04 22:23:24 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1993-04-04 22:23:24 +0000 |
commit | 3adb6ca9182d6904c7a7a307a5172aad563e7f0b (patch) | |
tree | 4ffd4e22bfd2684fef7afb640404445e4d3fe4e5 /gas | |
parent | dd4227d392b31e6e52d80973a0ed62730ddd2717 (diff) | |
download | gdb-3adb6ca9182d6904c7a7a307a5172aad563e7f0b.zip gdb-3adb6ca9182d6904c7a7a307a5172aad563e7f0b.tar.gz gdb-3adb6ca9182d6904c7a7a307a5172aad563e7f0b.tar.bz2 |
* config/tc-h8500.c: Get relax size of branch instructions right,
(get_operand): Parse @sp+ correctly.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-h8500.c | 10 |
1 files 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) { |