From a7512014c6e61c126e4439c69154f5996b61fc66 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 4 Oct 1995 18:02:13 +0000 Subject: [PATCH] * config/tc-m68k.c (isbyte): Accept all values from -65536 to +65535, so ~VAL will not be rejected. --- gas/config/tc-m68k.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index 4c0fd6d..660cfc2 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -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++; -- 2.7.4