Lines Matching refs:op1
651 struct pdp11_code insn, op1, op2; in md_assemble() local
686 op1.error = NULL; in md_assemble()
687 op1.additional = FALSE; in md_assemble()
688 op1.reloc.type = BFD_RELOC_NONE; in md_assemble()
710 str = parse_expression (str, &op1); in md_assemble()
711 if (op1.error) in md_assemble()
713 if (op1.reloc.exp.X_op != O_constant || op1.reloc.type != BFD_RELOC_NONE) in md_assemble()
715 op1.error = _("operand is not an absolute constant"); in md_assemble()
721 if (op1.reloc.exp.X_add_number & ~7) in md_assemble()
723 op1.error = _("3-bit immediate out of range"); in md_assemble()
728 if (op1.reloc.exp.X_add_number & ~0x3f) in md_assemble()
730 op1.error = _("6-bit immediate out of range"); in md_assemble()
735 if (op1.reloc.exp.X_add_number & ~0xff) in md_assemble()
737 op1.error = _("8-bit immediate out of range"); in md_assemble()
742 insn.code |= op1.reloc.exp.X_add_number; in md_assemble()
748 new_pointer = parse_expression (str, &op1); in md_assemble()
749 op1.code = 0; in md_assemble()
750 op1.reloc.pc_rel = 1; in md_assemble()
751 op1.reloc.type = BFD_RELOC_PDP11_DISP_8_PCREL; in md_assemble()
752 if (op1.reloc.exp.X_op != O_symbol) in md_assemble()
754 op1.error = _("Symbol expected"); in md_assemble()
757 if (op1.code & ~0xff) in md_assemble()
763 insn.code |= op1.code; in md_assemble()
764 insn.reloc = op1.reloc; in md_assemble()
769 str = parse_reg (str, &op1); in md_assemble()
770 if (op1.error) in md_assemble()
772 insn.code |= op1.code; in md_assemble()
776 str = parse_op (str, &op1); in md_assemble()
777 if (op1.error) in md_assemble()
779 insn.code |= op1.code; in md_assemble()
780 if (op1.additional) in md_assemble()
785 str = parse_fop (str, &op1); in md_assemble()
786 if (op1.error) in md_assemble()
788 insn.code |= op1.code; in md_assemble()
789 if (op1.additional) in md_assemble()
804 str = parse_op (str, &op1); in md_assemble()
805 if (op1.error) in md_assemble()
807 insn.code |= op1.code; in md_assemble()
808 if (op1.additional) in md_assemble()
813 str = parse_op (str, &op1); in md_assemble()
814 if (op1.error) in md_assemble()
816 insn.code |= op1.code; in md_assemble()
817 if (op1.additional) in md_assemble()
839 op1.error = _("Missing ','"); in md_assemble()
842 str = parse_fop (str, &op1); in md_assemble()
843 if (op1.error) in md_assemble()
845 insn.code |= op1.code; in md_assemble()
846 if (op1.additional) in md_assemble()
851 str = parse_fop (str, &op1); in md_assemble()
852 if (op1.error) in md_assemble()
854 insn.code |= op1.code; in md_assemble()
855 if (op1.additional) in md_assemble()
860 op1.error = _("Missing ','"); in md_assemble()
877 op1.error = _("Missing ','"); in md_assemble()
880 str = parse_op (str, &op1); in md_assemble()
881 if (op1.error) in md_assemble()
883 insn.code |= op1.code; in md_assemble()
884 if (op1.additional) in md_assemble()
889 str = parse_op (str, &op1); in md_assemble()
890 if (op1.error) in md_assemble()
892 insn.code |= op1.code; in md_assemble()
893 if (op1.additional) in md_assemble()
898 op1.error = _("Missing ','"); in md_assemble()
908 str = parse_op (str, &op1); in md_assemble()
909 if (op1.error) in md_assemble()
911 insn.code |= op1.code << 6; in md_assemble()
912 if (op1.additional) in md_assemble()
938 op1.error = _("Missing ','"); in md_assemble()
941 new_pointer = parse_expression (str, &op1); in md_assemble()
942 op1.code = 0; in md_assemble()
943 op1.reloc.pc_rel = 1; in md_assemble()
944 op1.reloc.type = BFD_RELOC_PDP11_DISP_6_PCREL; in md_assemble()
945 if (op1.reloc.exp.X_op != O_symbol) in md_assemble()
947 op1.error = _("Symbol expected"); in md_assemble()
950 if (op1.code & ~0x3f) in md_assemble()
956 insn.code |= op1.code; in md_assemble()
957 insn.reloc = op1.reloc; in md_assemble()
965 if (op1.error) in md_assemble()
966 err = op1.error; in md_assemble()
993 if (op1.additional) in md_assemble()
995 md_number_to_chars (to, op1.word, 2); in md_assemble()
996 if (op1.reloc.type != BFD_RELOC_NONE) in md_assemble()
998 &op1.reloc.exp, op1.reloc.pc_rel, op1.reloc.type); in md_assemble()