diff options
Diffstat (limited to 'gas/config/tc-v850.c')
-rw-r--r-- | gas/config/tc-v850.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c index 7053e93..ad1fb30 100644 --- a/gas/config/tc-v850.c +++ b/gas/config/tc-v850.c @@ -2350,7 +2350,8 @@ md_assemble (char *str) } if (operand->flags & V850E_IMMEDIATE16) { - if (ex.X_add_number & 0xffff0000) + if ((ex.X_add_number & 0xffff0000) + && ((ex.X_add_number & 0xffff0000) != 0xffff0000)) { errmsg = _("constant too big to fit into instruction"); goto error; |