Lines Matching defs:cr16_ins
854 process_label_constant (char *str, ins * cr16_ins)
863 argument *cur_arg = cr16_ins->arg + cur_arg_num; /* Current argument. */
868 expression (&cr16_ins->exp);
870 switch (cr16_ins->exp.X_op)
877 cr16_ins->exp.X_op = O_constant;
878 cr16_ins->exp.X_add_number = 0;
879 cr16_ins->exp.X_add_symbol = NULL;
880 cr16_ins->exp.X_op_symbol = NULL;
885 cur_arg->constant = cr16_ins->exp.X_add_number;
892 cur_arg->constant = cr16_ins->exp.X_add_number;
893 cr16_ins->exp.X_add_number = 0;
894 cr16_ins->rtype = BFD_RELOC_NONE;
939 cr16_ins->rtype = BFD_RELOC_CR16_GOT_REGREL20;
941 cr16_ins->rtype = BFD_RELOC_CR16_GOTC_REGREL20;
943 cr16_ins->rtype = BFD_RELOC_CR16_REGREL20;
945 cr16_ins->rtype = BFD_RELOC_CR16_REGREL20a;
953 cr16_ins->rtype = BFD_RELOC_CR16_GOT_REGREL20;
955 cr16_ins->rtype = BFD_RELOC_CR16_GOTC_REGREL20;
963 cr16_ins->rtype = BFD_RELOC_CR16_REGREL0;
967 cr16_ins->rtype = BFD_RELOC_CR16_REGREL4;
969 cr16_ins->rtype = BFD_RELOC_CR16_REGREL4a;
975 cr16_ins->rtype = BFD_RELOC_CR16_REGREL16;
979 cr16_ins->rtype = BFD_RELOC_CR16_REGREL20;
981 cr16_ins->rtype = BFD_RELOC_CR16_REGREL20a;
993 cr16_ins->rtype = BFD_RELOC_CR16_GOT_REGREL20;
995 cr16_ins->rtype = BFD_RELOC_CR16_GOTC_REGREL20;
997 cr16_ins->rtype = BFD_RELOC_CR16_REGREL20;
1005 cr16_ins->rtype = BFD_RELOC_CR16_GOT_REGREL20;
1007 cr16_ins->rtype = BFD_RELOC_CR16_GOTC_REGREL20;
1011 case 1: cr16_ins->rtype = BFD_RELOC_CR16_REGREL0; break;
1012 case 2: cr16_ins->rtype = BFD_RELOC_CR16_REGREL14; break;
1013 case 3: cr16_ins->rtype = BFD_RELOC_CR16_REGREL20; break;
1022 cr16_ins->rtype = BFD_RELOC_CR16_DISP24;
1026 cr16_ins->rtype = BFD_RELOC_CR16_DISP24;
1028 cr16_ins->rtype = BFD_RELOC_CR16_DISP16;
1030 cr16_ins->rtype = BFD_RELOC_CR16_DISP8;
1038 cr16_ins->rtype = BFD_RELOC_CR16_GOT_REGREL20;
1040 cr16_ins->rtype = BFD_RELOC_CR16_GOTC_REGREL20;
1042 cr16_ins->rtype = BFD_RELOC_CR16_ABS20;
1044 cr16_ins->rtype = BFD_RELOC_CR16_ABS24;
1047 cr16_ins->rtype = BFD_RELOC_CR16_DISP4;
1054 cr16_ins->rtype = BFD_RELOC_CR16_GOT_REGREL20;
1056 cr16_ins->rtype = BFD_RELOC_CR16_GOTC_REGREL20;
1058 cr16_ins->rtype = BFD_RELOC_CR16_IMM4;
1060 cr16_ins->rtype = BFD_RELOC_CR16_IMM20;
1062 cr16_ins->rtype = BFD_RELOC_CR16_IMM32a;
1064 cr16_ins->rtype = BFD_RELOC_CR16_IMM32;
1068 cr16_ins->rtype = BFD_RELOC_CR16_IMM16;
1077 cur_arg->X_op = cr16_ins->exp.X_op;
1143 set_operand (char *operand, ins * cr16_ins)
1148 argument *cur_arg = &cr16_ins->arg[cur_arg_num]; /* Current argument. */
1160 process_label_constant (operandS, cr16_ins);
1173 process_label_constant (operandS, cr16_ins);
1203 process_label_constant (operandS, cr16_ins);
1234 process_label_constant (++operandE, cr16_ins);
1271 cr16_ins - Current assembled instruction. */
1274 parse_operand (char *operand, ins * cr16_ins)
1277 argument *cur_arg = cr16_ins->arg + cur_arg_num; /* Current argument. */
1370 set_operand (operand, cr16_ins);
1374 the fields in the cr16_ins data structure. */
1377 parse_operands (ins * cr16_ins, char *operands)
1433 cr16_ins->nargs = op_num;
1440 for (op_num = 0; op_num < cr16_ins->nargs; op_num++)
1443 parse_operand (operand[op_num], cr16_ins);
1474 cr16_ins - data structure holds some information.
2466 ins cr16_ins;
2480 parse_insn (&cr16_ins, param);
2483 if (assemble_insn (op, &cr16_ins) == 0)
2487 print_insn (&cr16_ins);
2497 ins cr16_ins;
2540 parse_operands (&cr16_ins, param1);
2541 if (((&cr16_ins)->arg[0].type == arg_ic)
2542 && ((&cr16_ins)->arg[0].constant >= 0))