* gas/config/tc-tic4x.c (c4x_operands_match): Bugfix in direct

mode
This commit is contained in:
Svein Seldal 2002-11-25 09:01:30 +00:00
parent 7d6a26a7dc
commit da91385db3
2 changed files with 8 additions and 15 deletions

View File

@ -1,3 +1,7 @@
2002-11-25 Svein E. Seldal <Svein.Seldal@solidas.com>
* config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode
2002-11-21 Randolph Chung <randolph@tausq.org>
* config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols

View File

@ -1877,21 +1877,10 @@ c4x_operands_match (inst, insn, check)
if (operand->mode != M_DIRECT)
break;
if (exp->X_op == O_constant)
{
if(exp->X_add_number <= 65535)
{
/* Store only the 16 LSBs of the number. */
INSERTS (opcode, exp->X_add_number, 15, 0);
continue;
}
else
{
if (!check)
as_bad ("Direct value of %ld is too large",
(long) exp->X_add_number);
ret = -1;
continue;
}
{
/* Store only the 16 LSBs of the number. */
INSERTS (opcode, exp->X_add_number, 15, 0);
continue;
}
else if (exp->X_op == O_symbol)
{