Lines Matching refs:X_add_number
234 reg.X_add_number = regtable[i].number; in md_begin()
577 int rnum = symbol_get_value_expression(op->X_add_symbol)->X_add_number; in parse_exp()
588 minus.X_add_number = 0; in parse_exp()
594 symbol_get_value_expression(op->X_op_symbol)->X_add_number += op->X_add_number; in parse_exp()
595 op->X_add_number = rnum; in parse_exp()
603 if ( op->X_md && ((REG_IX == op->X_add_number)||(REG_IY == op->X_add_number)) ) in parse_exp()
713 *p = val->X_add_number; in emit_byte()
727 if ((val->X_add_number < lo) || (val->X_add_number > hi)) in emit_byte()
756 *p = val->X_add_number; in emit_word()
757 p[1] = (val->X_add_number>>8); in emit_word()
772 rnum = arg->X_add_number; in emit_mx()
812 offset.X_add_number = 0; in emit_mx()
867 && (arg_r.X_add_number < 8)) in emit_mr()
868 opcode += arg_r.X_add_number-6; /* Emit_mx () will add 6. */ in emit_mr()
949 rnum = operand.X_add_number; in emit_incdec()
999 rnum = addr.X_add_number; in emit_jp()
1030 switch (mode.X_add_number) in emit_im()
1034 ++mode.X_add_number; in emit_im()
1039 *q = opcode + 8*mode.X_add_number; in emit_im()
1057 && (regp.X_add_number & R_STACKABLE)) in emit_pop()
1061 rnum = regp.X_add_number; in emit_pop()
1110 switch (term.X_add_number) in emit_adc()
1119 rnum = term.X_add_number; in emit_adc()
1153 switch (term.X_add_number & ~R_INDEX) in emit_add()
1159 lhs = term.X_add_number; in emit_add()
1163 rhs = term.X_add_number; in emit_add()
1192 bn = b.X_add_number; in emit_bit()
1264 switch (op.X_add_number | (op.X_md ? 0x8000 : 0)) in emit_ex()
1283 && (op.X_add_number & ~R_INDEX) == REG_HL) in emit_ex()
1286 if (R_INDEX & op.X_add_number) in emit_ex()
1287 prefix = (R_IX & op.X_add_number) ? 0xDD : 0xFD; in emit_ex()
1317 && (reg.X_add_number <= 7 || reg.X_add_number == REG_F) in emit_in()
1322 if (REG_A == reg.X_add_number) in emit_in()
1333 if (port.X_add_number == REG_C) in emit_in()
1335 if (reg.X_add_number == REG_F) in emit_in()
1341 *q = 0x40|((reg.X_add_number&7)<<3); in emit_in()
1371 if (reg.X_op == O_constant && reg.X_add_number == 0) in emit_out()
1375 reg.X_add_number = 6; in emit_out()
1379 || reg.X_add_number > 7) in emit_out()
1384 if (REG_A == reg.X_add_number) in emit_out()
1395 if (REG_C == port.X_add_number) in emit_out()
1399 *q = 0x41 | (reg.X_add_number << 3); in emit_out()
1421 if (addr.X_add_number & ~(7 << 3)) in emit_rst()
1426 *q = opcode + (addr.X_add_number & (7 << 3)); in emit_rst()
1442 if (src->X_add_number>7) in emit_ldxhl()
1451 *q = opcode + src->X_add_number; in emit_ldxhl()
1483 if (src->X_md == 0 && src->X_op == O_register && src->X_add_number == REG_A) in emit_ldreg()
1504 && (src->X_add_number == REG_BC || src->X_add_number == REG_DE)) in emit_ldreg()
1507 *q = 0x0A + ((src->X_add_number & 1) << 4); in emit_ldreg()
1513 && (src->X_add_number == REG_R || src->X_add_number == REG_I)) in emit_ldreg()
1517 *q = (src->X_add_number == REG_I) ? 0x57 : 0x5F; in emit_ldreg()
1532 && (src->X_add_number & R_INDEX)) in emit_ldreg()
1550 rnum = src->X_add_number; in emit_ldreg()
1576 && REG_HL == (src->X_add_number &~ R_INDEX)) in emit_ldreg()
1578 q = frag_more ((src->X_add_number & R_INDEX) ? 2 : 1); in emit_ldreg()
1579 if (src->X_add_number & R_INDEX) in emit_ldreg()
1580 *q++ = (src->X_add_number & R_IX) ? 0xDD : 0xFD; in emit_ldreg()
1642 dst_offset.X_add_number = 0; in emit_ld()
1643 emit_ldxhl ((dst.X_add_number & R_IX) ? 0xDD : 0xFD, 0x70, in emit_ld()
1651 switch (dst.X_add_number) in emit_ld()
1655 if (src.X_md == 0 && src.X_op == O_register && src.X_add_number == REG_A) in emit_ld()
1658 *q = 0x02 + ( (dst.X_add_number & 1) << 4); in emit_ld()
1671 emit_ldreg (dst.X_add_number, &src); in emit_ld()
1678 switch (src.X_add_number) in emit_ld()
1683 prefix = 0xED; opcode = 0x43 + ((src.X_add_number&3)<<4); break; in emit_ld()
1801 switch (reg.X_add_number) in emit_muluw()
1808 *q = opcode + ((reg.X_add_number & 3) << 4); in emit_muluw()