* config/tc-m68k.c (isbyte): Accept all values from -65536 to
authorIan Lance Taylor <ian@airs.com>
Wed, 4 Oct 1995 18:02:13 +0000 (18:02 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 4 Oct 1995 18:02:13 +0000 (18:02 +0000)
+65535, so ~VAL will not be rejected.

gas/config/tc-m68k.c

index 4c0fd6d690dd1e32d436bbb6911637789d7e1153..660cfc23bdafd21d0e96ffcd4213dd4e06fc4253 100644 (file)
@@ -511,7 +511,7 @@ CONST pseudo_typeS mote_pseudo_table[] =
 #define isuword(x)     ((x)>=0 && (x)<=65535)
 
 #define isbyte(x)      ((x)>= -255 && (x)<=255)
-#define isword(x)      ((x)>=-32768 && (x)<=65535)
+#define isword(x)      ((x)>=-65536 && (x)<=65535)
 #define islong(x)      (1)
 
 extern char *input_line_pointer;
@@ -859,8 +859,8 @@ m68k_ip (instring)
                  if (opP->mode == CONTROL
                      || opP->mode == FPREG
                      || opP->mode == REGLST
+                     || opP->mode == IMMED
                      || (opP->mode != ABSL
-                         && opP->mode != IMMED
                          && (opP->reg == PC
                              || opP->reg == ZPC)))
                    losing++;