FreeBSD/contrib/binutils/gas/config/tc-mips.c
/* Install INSN at the location specified by its "frag" and "where" fields.  */
Install INSN at the location specified by its "frag" and "where" fields.
Install INSN at the location specified by its " frag " and " where " fields .
static void
install_insn (const struct mips_cl_insn *insn)
{
  char *f = insn->frag->fr_literal + insn->where;
  if (!mips_opts.mips16)
    md_number_to_chars (f, insn->insn_opcode, 4);
  else if (insn->mips16_absolute_jump_p)
    {
      md_number_to_chars (f, insn->insn_opcode >> 16, 2);
      md_number_to_chars (f + 2, insn->insn_opcode & 0xffff, 2);
    }
  else
    {
      if (insn->use_extend)
	{
	  md_number_to_chars (f, 0xf000 | insn->extend, 2);
	  f += 2;
	}
      md_number_to_chars (f, insn->insn_opcode, 2);
    }
}
static void install_insn ( const struct mips_cl_insn * insn ) { char * f = insn -> frag -> fr_literal + insn -> where ; if ( ! mips_opts . mips16 ) md_number_to_chars ( f , insn -> insn_opcode , 4 ) ; else if ( insn -> mips16_absolute_jump_p ) { md_number_to_chars ( f , insn -> insn_opcode >> 16 , 2 ) ; md_number_to_chars ( f + 2 , insn -> insn_opcode & 0xffff , 2 ) ; } else { if ( insn -> use_extend ) { md_number_to_chars ( f , 0xf000 | insn -> extend , 2 ) ; f += 2 ; } md_number_to_chars ( f , insn -> insn_opcode , 2 ) ; } }
Install INSN at the location specified by its "frag" and "where" fields.
Install INSN at the location specified by its " frag " and " where " fields .