* config/tc-h8500.c: Get relax size of branch instructions right,
authorSteve Chamberlain <sac@cygnus>
Sun, 4 Apr 1993 22:23:24 +0000 (22:23 +0000)
committerSteve Chamberlain <sac@cygnus>
Sun, 4 Apr 1993 22:23:24 +0000 (22:23 +0000)
(get_operand): Parse @sp+ correctly.

gas/config/tc-h8500.c

index a29e7f0aa5f77c9f8ced651993c62ee7ff91635d..8f37cec55b0489547727a487f44219e9feea6d79 100644 (file)
@@ -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)
                {