Lines Matching defs:format

154   long format;
181 long format;
489 opc->min_operands, opc->max_operands, opc->format, opc->used);
627 && opcodes[num_opcodes].format & M6811_OP_JUMP_REL
628 && !(opcodes[num_opcodes].format & M6811_OP_BITMASK))
663 opc->format = 0;
672 opc->format |= opcodes->format;
678 if (opcodes->format & (M68XG_OP_IMM3 | M68XG_OP_R | M68XG_OP_REL9
681 else if (opcodes->format & (M68XG_OP_R_R | M68XG_OP_R_IMM4
684 else if (opcodes->format & (M68XG_OP_R_R_R | M68XG_OP_R_R_OFFS5
691 if (opcodes->format & M6811_OP_MASK)
693 if (opcodes->format & M6811_OP_BITMASK)
695 if (opcodes->format & (M6811_OP_JUMP_REL | M6812_OP_JUMP_REL16))
697 if (opcodes->format & (M6812_OP_IND16_P2 | M6812_OP_IDX_P2))
700 if ((opcodes->format & M6812_OP_PAGE)
701 && !(opcodes->format & M6811_OP_IND16))
707 if (IS_CALL_SYMBOL (opcodes->format))
730 /* Return a string that represents the operand format for the instruction.
738 int format = opcode->format;
746 if (format & M68XG_OP_IMM3)
754 else if (format & M68XG_OP_R)
762 else if (format & M68XG_OP_R_R)
770 else if (format & M68XG_OP_R_IMM4)
778 else if (format & M68XG_OP_R_R_R)
786 else if (format & M68XG_OP_REL9)
794 else if (format & M68XG_OP_REL10)
802 else if (format & M68XG_OP_R_R_OFFS5)
810 else if (format & M68XG_OP_RD_RB_RI)
818 else if (format & M68XG_OP_RD_RB_RIp)
826 else if (format & M68XG_OP_RD_RB_mRI)
834 else if (format & M68XG_OP_R_IMM8)
842 else if (format & M68XG_OP_R_IMM16)
854 if (format & M6811_OP_IMM8)
863 if (format & M6811_OP_IMM16)
872 if (format & M6811_OP_IX)
881 if (format & M6811_OP_IY)
890 if (format & M6812_OP_IDX)
899 if (format & M6812_OP_PAGE)
908 if (format & M6811_OP_DIRECT)
917 if (format & M6811_OP_BITMASK)
928 if (format & M6811_OP_JUMP_REL)
932 if (format & M6811_OP_IND16)
942 if (format & (M6811_OP_JUMP_REL | M6812_OP_JUMP_REL16))
946 if (format & M6811_OP_BITMASK)
1006 /* Print the instruction format. This operation is called when some
1007 instruction is not correct. Instruction format is printed as an
1838 gas_assert ((opcode->format & M6811_OP_BITMASK) == 0);
1852 && (!check_range (n, opcode->format) &&
1891 if (!check_range (n, opcode->format))
1896 else if (opcode->format & M6812_OP_JUMP_REL16)
1910 else if (opcode->format & M6812_OP_JUMP_REL16)
1979 gas_assert ((opcode->format & M6811_OP_BITMASK) == 0);
1995 if (opcode->format & M6812_OP_IBCC_MARKER)
1997 else if (opcode->format & M6812_OP_TBCC_MARKER)
2000 if (!(opcode->format & M6812_OP_EQ_MARKER))
2063 build_indexed_byte (operand *op, int format ATTRIBUTE_UNUSED, int move_insn)
2337 build_reg_mode (operand *op, int format)
2342 if ((format & M6812_OP_SEX_MARKER)
2349 if (format & M6812_OP_SEX_MARKER
2357 if (format & M6812_OP_EXG_MARKER)
2360 if ((format & M6812_OP_SEX_MARKER)
2378 long format;
2381 format = opcode->format;
2387 if (format & M68XG_OP_R_IMM8)
2392 fixup8_xg (&operands[0].exp, format, operands[0].mode);
2394 else if (format & M68XG_OP_R_IMM16)
2422 else if (format & M68XG_OP_REL9)
2426 fixup8_xg (&operands[0].exp, format, M68XG_OP_REL9);
2428 else if (format & M68XG_OP_REL10)
2432 fixup8_xg (&operands[0].exp, format, M68XG_OP_REL10);
2454 long format;
2458 format = opcode->format;
2460 if (format & M6811_OP_BRANCH)
2464 if (format & OP_EXTENDED)
2469 if (format & M6811_OP_PAGE2)
2471 else if (format & M6811_OP_PAGE3)
2488 if (format & (M6812_OP_IND16_P2 | M6812_OP_IDX_P2))
2491 if (format & M6812_OP_IDX)
2493 build_indexed_byte (&operands[0], format, 1);
2495 format &= ~M6812_OP_IDX;
2497 if (format & M6812_OP_IDX_P2)
2499 build_indexed_byte (&operands[1], format, 1);
2501 format &= ~M6812_OP_IDX_P2;
2505 if (format & (M6811_OP_DIRECT | M6811_OP_IMM8))
2508 format & (M6811_OP_DIRECT | M6811_OP_IMM8 | M6812_OP_TRAP_ID),
2512 else if (IS_CALL_SYMBOL (format) && nb_operands == 1)
2514 format &= ~M6812_OP_PAGE;
2515 fixup24 (&operands[i].exp, format & M6811_OP_IND16,
2519 else if (format & (M6811_OP_IMM16 | M6811_OP_IND16))
2522 format & (M6811_OP_IMM16 | M6811_OP_IND16 | M6812_OP_PAGE),
2526 else if (format & (M6811_OP_IX | M6811_OP_IY))
2528 if ((format & M6811_OP_IX) && (operands[0].reg1 != REG_X))
2530 if ((format & M6811_OP_IY) && (operands[0].reg1 != REG_Y))
2536 else if (format &
2540 build_indexed_byte (&operands[i], format, move_insn);
2543 else if (format & M6812_OP_REG && current_architecture & cpu6812)
2545 build_reg_mode (&operands[i], format);
2548 if (format & M6811_OP_BITMASK)
2553 if (format & M6811_OP_JUMP_REL)
2557 else if (format & M6812_OP_IND16_P2)
2561 if (format & M6812_OP_PAGE)
2590 if (opcode->format == operands[nb_operands-1].mode)
2604 long format = opcode->format;
2608 if (opcode->format & M6811_OP_MASK)
2610 if (opcode->format & M6811_OP_BITMASK)
2612 if (opcode->format & (M6811_OP_JUMP_REL | M6812_OP_JUMP_REL16))
2614 if (opcode->format & (M6812_OP_IND16_P2 | M6812_OP_IDX_P2))
2616 if ((opcode->format & M6812_OP_PAGE)
2617 && (!IS_CALL_SYMBOL (opcode->format) || nb_operands == 2))
2626 if (format &
2633 if (format & M6811_OP_DIRECT)
2639 if (format & M6811_OP_IND16
2649 if (i == 0 && (format & M6811_OP_IND16) != 0)
2651 if (i != 0 && (format & M6812_OP_PAGE) != 0)
2653 if (i != 0 && (format & M6812_OP_IND16_P2) != 0)
2655 if (i == 0 && (format & M6811_OP_BITMASK))
2660 if (format & (M6811_OP_JUMP_REL | M6812_OP_JUMP_REL16))
2666 && (format & M6812_OP_REG)
2670 && (format & M6812_OP_REG)
2671 && (format & M6812_OP_REG_2)
2675 && (format & M6812_OP_IDX)
2679 && (format & M6812_OP_IDX)
2680 && (format & (M6812_OP_IND16_P2 | M6812_OP_IDX_P2)))
2683 && (format & M6812_OP_IDX_P2))
2689 if (format & M6811_OP_IX && operands[i].reg1 == REG_X)
2691 if (format & M6811_OP_IY && operands[i].reg1 == REG_Y)
2694 && format & (M6812_OP_IDX | M6812_OP_IDX_1 | M6812_OP_IDX_2)
2700 if (i == 1 && (format & M6812_OP_IDX_P2))
2703 if (mode & format & (M6812_OP_D_IDX | M6812_OP_D_IDX_2))
2711 && format & (M6812_OP_IDX | M6812_OP_IDX_1 |
2714 if (i == 1 && format & M6812_OP_IDX_P2)
2770 result = get_operand (&operands[i], i, opc->format);
2777 if (i == 1 && (opc->format & M6811_OP_BITMASK)
2793 if (opcode && !(opcode->format & M6812_OP_PAGE))
2870 opcode_local.format = opc->opcode->format;
2875 if (opc->format == M68XG_OP_NONE)
2878 opcode_local.format = M68XG_OP_NONE;
2927 opcode_local.format = M68XG_OP_NONE;
2934 if (opc->format & M68XG_OP_IMM3)
2953 opcode_local.format = M68XG_OP_NONE;
2989 opcode_local.format = M68XG_OP_NONE;
3025 opcode_local.format = M68XG_OP_NONE;
3031 if (opc->format & M68XG_OP_R)
3044 if (opc->format & M68XG_OP_R)
3064 opcode_local.format = M68XG_OP_NONE;
3074 if (opc->format & (M68XG_OP_REL9 | M68XG_OP_REL10))
3076 opcode_local.format = opc->format;
3132 if (!(opc->format
3164 opcode_local.format = opc->format
3166 if (opcode_local.format & M68XG_OP_R_IMM4)
3186 opcode_local.format = M68XG_OP_NONE;
3188 else if (opcode_local.format & M68XG_OP_R_IMM16)
3220 if (opc->format & M68XG_OP_R_R)
3252 opcode_local.format = M68XG_OP_NONE;
3279 if (opc->format & M68XG_OP_R_R_R)
3289 opcode_local.format = M68XG_OP_NONE;
3360 opcode_local.format = M68XG_OP_R_R_OFFS5;
3380 opcode_local.format = M68XG_OP_NONE;
3408 if (opcode_local.format == M68XG_OP_RD_RB_mRI)
3435 opcode_local.format = M68XG_OP_NONE;
3490 && (!(opc->format & M6811_OP_JUMP_REL)
3491 || (opc->format & M6811_OP_BITMASK)))
3703 if ((opcode->format & M6812_XBCC_MARKER)
3704 && (opcode->format & M6811_OP_JUMP_REL))
3711 else if ((opcode->format & (M6811_OP_JUMP_REL | M6812_OP_JUMP_REL16))
3712 && !(opcode->format & M6811_OP_BITMASK))
3808 as_bad (_("bad .relax format"));
3853 _("Relocation %d is not supported by object file format."),