aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-tic4x.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-tic4x.c')
-rw-r--r--gas/config/tc-tic4x.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/gas/config/tc-tic4x.c b/gas/config/tc-tic4x.c
index 6136105..8e5f579 100644
--- a/gas/config/tc-tic4x.c
+++ b/gas/config/tc-tic4x.c
@@ -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)
{