* config/tc-m68k.c (isbyte): Accept all values from -65536 to

+65535,	so ~VAL will not be rejected.
This commit is contained in:
Ian Lance Taylor 1995-10-04 18:02:13 +00:00
parent ca2ce3b317
commit a7512014c6

View 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++;