Lines Matching refs:bin
1046 int bin, in msp430_srcoperand() argument
1186 if (bin == 0x1200) in msp430_srcoperand()
1203 if (bin == 0x1200) in msp430_srcoperand()
1493 int bin, in msp430_dstoperand() argument
1498 int ret = msp430_srcoperand (op, l, bin, & dummy, in msp430_dstoperand()
1540 int bin, in try_encode_mova() argument
1565 bin |= 0x80 | op2->reg; in try_encode_mova()
1570 bin |= ((op1->exp.X_add_number >> 16) & 0xf) << 8; in try_encode_mova()
1571 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
1576 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
1587 bin |= 0x30 | (op1->reg << 8) | op2->reg; in try_encode_mova()
1590 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
1622 bin |= 0xc0 | (op1->reg << 8) | op2->reg; in try_encode_mova()
1625 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
1633 bin |= 0x60 | (op1->reg << 8); in try_encode_mova()
1638 bin |= (op2->exp.X_add_number >> 16) & 0xf; in try_encode_mova()
1639 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
1644 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
1653 bin |= 0x70 | (op1->reg << 8) | op2->reg; in try_encode_mova()
1656 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
1704 bin |= 0x20 | op2->reg; in try_encode_mova()
1709 bin |= ((op1->exp.X_add_number >> 16) & 0xf) << 8; in try_encode_mova()
1710 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
1715 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
1748 bin |= 0x10 | (op1->reg << 8) | op2->reg; in try_encode_mova()
1751 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
1778 bin |= (op1->reg << 8) | op2->reg; in try_encode_mova()
1781 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
1802 int bin = opcode->bin_opcode; /* Opcode mask. */ in msp430_operands() local
1838 bin |= BYTE_OPERATION; in msp430_operands()
1846 bin |= BYTE_OPERATION; in msp430_operands()
1904 bin = opcode->bin_opcode; in msp430_operands()
2000 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
2011 bin |= (op1.reg | (op1.am << 7)); in msp430_operands()
2013 if (is_opcode ("clr") && bin == 0x4302 /* CLR R2*/) in msp430_operands()
2074 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
2175 bin |= (op2.reg | (op1.reg << 8) | (op1.am << 4) | (op2.am << 7)); in msp430_operands()
2176 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
2244 bin |= ((op1.reg << 8) | (op1.am << 4)); in msp430_operands()
2248 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
2296 bin |= 0xb0; in msp430_operands()
2306 bin |= 0x90; in msp430_operands()
2313 bin |= 0x50 | op1.reg; in msp430_operands()
2316 bin |= 0x40 | op1.reg; in msp430_operands()
2320 bin |= 0x80; in msp430_operands()
2327 bin |= 0x60 | op1.reg; in msp430_operands()
2329 bin |= 0x70 | op1.reg; in msp430_operands()
2331 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
2383 bin = opcode->bin_opcode; in msp430_operands()
2385 bin |= 0x100; in msp430_operands()
2387 bin |= (n - 1) << 4; in msp430_operands()
2389 bin |= reg; in msp430_operands()
2408 bin |= (reg - n + 1); in msp430_operands()
2411 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
2468 bin = opcode->bin_opcode; in msp430_operands()
2470 bin |= 0x10; in msp430_operands()
2471 bin |= (n - 1) << 10; in msp430_operands()
2472 bin |= reg; in msp430_operands()
2474 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
2511 bin = 0x1140 | reg; in msp430_operands()
2512 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
2514 bin = 0xc070 | reg; in msp430_operands()
2515 bfd_putl16 ((bfd_vma) bin, frag + 2); in msp430_operands()
2516 bin = 0x0080; in msp430_operands()
2517 bfd_putl16 ((bfd_vma) bin, frag + 4); in msp430_operands()
2523 bin = opcode->bin_opcode; in msp430_operands()
2525 bin |= 0x10; in msp430_operands()
2526 bin |= reg; in msp430_operands()
2530 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
2552 bin = opcode->bin_opcode; in msp430_operands()
2568 bin |= ((n >> 16) & 0xf) << 8; in msp430_operands()
2587 bin |= (n << 8) | (1 << 6); in msp430_operands()
2600 bin |= reg; in msp430_operands()
2605 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
2614 bin = opcode->bin_opcode; in msp430_operands()
2654 if ((op_length = try_encode_mova (imm_op, bin, & op1, & op2, in msp430_operands()
2734 bin |= (op2.reg | (op1.reg << 8) | (op1.am << 4) | (op2.am << 7)); in msp430_operands()
2736 if ( (is_opcode ("bic") && bin == 0xc232) in msp430_operands()
2737 || (is_opcode ("bis") && bin == 0xd232) in msp430_operands()
2820 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
2880 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
2913 bin &= ~ BYTE_OPERATION; in msp430_operands()
2952 bin |= op1.reg | (op1.am << 4); in msp430_operands()
2953 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
3040 bin |= x & 0x3ff; in msp430_operands()
3041 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()
3051 bfd_putl16 ((bfd_vma) bin, frag); in msp430_operands()