Lines Matching refs:immediate
256 } immediate;
596 current_op->immediate.label = malloc (strlen (token) + 1);
597 strcpy (current_op->immediate.label, token);
598 current_op->immediate.label[strlen (token)] = '\0';
603 retval = expression (¤t_op->immediate.imm_expr);
605 current_op->immediate.imm_expr.X_op);
607 (long) current_op->immediate.imm_expr.X_add_number);
611 if (current_op->immediate.imm_expr.X_op == O_constant)
613 current_op->immediate.s_number
614 = current_op->immediate.imm_expr.X_add_number;
615 current_op->immediate.u_number
616 = (unsigned int) current_op->immediate.imm_expr.X_add_number;
617 current_op->immediate.resolved = 1;
625 current_op->immediate.decimal_found = 1;
626 current_op->immediate.label = malloc (strlen (token) + 1);
627 strcpy (current_op->immediate
628 current_op->immediate.label[strlen (token)] = '\0';
629 current_op->immediate.f_number = (float) atof (token);
630 current_op->immediate.s_number = (int) atoi (token);
631 current_op->immediate.u_number = (unsigned int) atoi (token);
632 current_op->immediate.resolved = 1;
635 if (current_op->immediate.u_number <= 31)
1757 if (insn.operand_type[0]->immediate.resolved == 1)
1773 insn.operand_type[0]->immediate.label;
1777 as_bad (_("invalid short form floating point immediate operand"));
1786 if (insn.operand_type[0]->immediate.decimal_found)
1788 if (insn.operand_type[0]->immediate.u_number > 0xFFFF)
1791 (insn.operand_type[0]->immediate.u_number & 0x0000FFFFL);
1798 if (insn.operand_type[0]->immediate.decimal_found)
1801 if (insn.operand_type[0]->immediate.s_number < -32768 ||
1802 insn.operand_type[0]->immediate.s_number > 32767)
1808 (insn.operand_type[0]->immediate.s_number & 0x0000FFFFL);
1815 /* Unresolved immediate label. */
1820 & insn.operand_type[0]->immediate.imm_expr,
1840 if (insn.operand_type[0]->immediate.resolved == 1)
1843 (insn.operand_type[0]->immediate.s_number & 0x0000FFFF);
1850 2, & insn.operand_type[0]->immediate.imm_expr,
1865 else if (insn.operand_type[1]->immediate.resolved == 1)
1867 if (insn.operand_type[0]->immediate.decimal_found)
1872 if (insn.operand_type[0]->immediate.s_number < -32768 ||
1873 insn.operand_type[0]->immediate.s_number > 32767)
1878 insn.opcode |= (insn.operand_type[1]->immediate.s_number);
1887 & insn.operand_type[1]->immediate.imm_expr,
1896 insn.opcode |= (insn.operand_type[0]->immediate.u_number);
1940 if (insn.operand_type[0]->immediate.resolved == 1)
1942 /* Immediate addressing uses upper 8 bits of address. */
1943 if (insn.operand_type[0]->immediate.u_number > 0x00FFFFFF)
1949 ((insn.operand_type[0]->immediate.u_number & 0x00FF0000) >> 16);
1957 1, &insn.operand_type[0]->immediate.imm_expr,
1966 if (insn.operand_type[0]->immediate.resolved == 1)
1968 if (insn.operand_type[0]->immediate.u_number > 0x00FFFFFF)
1971 (insn.operand_type[0]->immediate.u_number & 0x00FFFFFF);
1978 & insn.operand_type[0]->immediate.imm_expr, 0, 0);
1995 if (insn.operand_type[i]->immediate.label)
1996 free (insn.operand_type[i]->immediate.label);