aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-10-04 18:02:13 +0000
committerIan Lance Taylor <ian@airs.com>1995-10-04 18:02:13 +0000
commita7512014c6e61c126e4439c69154f5996b61fc66 (patch)
tree4f9399db57bf1fe6c9d86f32c15bc07256761bcc /gas
parentca2ce3b317d2a38bfacca0de136ab4d776448230 (diff)
downloadgdb-a7512014c6e61c126e4439c69154f5996b61fc66.zip
gdb-a7512014c6e61c126e4439c69154f5996b61fc66.tar.gz
gdb-a7512014c6e61c126e4439c69154f5996b61fc66.tar.bz2
* config/tc-m68k.c (isbyte): Accept all values from -65536 to
+65535, so ~VAL will not be rejected.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-m68k.c4
1 files 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++;