Lines Matching refs:opcodep

406 mmix_set_geta_branch_offset (char *opcodep, offsetT value)  in mmix_set_geta_branch_offset()  argument
411 opcodep[0] |= 1; in mmix_set_geta_branch_offset()
415 md_number_to_chars (opcodep + 2, value, 2); in mmix_set_geta_branch_offset()
421 mmix_set_jmp_offset (char *opcodep, offsetT value) in mmix_set_jmp_offset() argument
426 opcodep[0] |= 1; in mmix_set_jmp_offset()
430 md_number_to_chars (opcodep + 1, value, 3); in mmix_set_jmp_offset()
436 mmix_fill_nops (char *opcodep, int n) in mmix_fill_nops() argument
441 md_number_to_chars (opcodep + i * 4, SWYM_INSN_BYTE << 24, 4); in mmix_fill_nops()
831 /* unsigned */ char *opcodep = NULL; in md_assemble() local
1077 opcodep = frag_more (4); in md_assemble()
1079 frag_now->fr_opcode = opcodep; in md_assemble()
1085 md_number_to_chars (opcodep, instruction->match, 4); in md_assemble()
1110 opcodep); in md_assemble()
1112 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal, 4, in md_assemble()
1128 opcodep[1] = exp[0].X_add_number; in md_assemble()
1130 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 1, in md_assemble()
1138 opcodep); in md_assemble()
1140 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal, 4, in md_assemble()
1155 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal, 4, in md_assemble()
1162 opcodep); in md_assemble()
1168 opcodep); in md_assemble()
1213 opcodep[1] = exp[0].X_add_number; in md_assemble()
1215 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 1, in md_assemble()
1240 opcodep[1] = exp[0].X_add_number; in md_assemble()
1242 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 1, in md_assemble()
1262 opcodep[1] = exp[0].X_add_number; in md_assemble()
1265 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 1, in md_assemble()
1295 md_number_to_chars (opcodep, SETL_INSN_BYTE, 1); in md_assemble()
1297 opcodep[2] = (exp[1].X_add_number >> 8) & 255; in md_assemble()
1298 opcodep[3] = exp[1].X_add_number & 255; in md_assemble()
1341 opcodep[0] |= IMM_OFFSET_BIT; in md_assemble()
1352 opcodep[2] = exp[1].X_add_number; in md_assemble()
1369 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 2, in md_assemble()
1387 = fix_new (opc_fragP, opcodep - opc_fragP->fr_literal + 2, in md_assemble()
1397 opcodep[2] = exp[1].X_add_number; in md_assemble()
1399 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 2, in md_assemble()
1407 opcodep[3] = exp[2].X_add_number; in md_assemble()
1411 opcodep[3] = exp[2].X_add_number; in md_assemble()
1412 opcodep[0] |= IMM_OFFSET_BIT; in md_assemble()
1415 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 3, in md_assemble()
1443 opcodep[2] = (exp[1].X_add_number >> 8) & 255; in md_assemble()
1444 opcodep[3] = exp[1].X_add_number & 255; in md_assemble()
1448 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 2, in md_assemble()
1500 opcodep[2] = exp[1].X_add_number & 255; in md_assemble()
1503 opcodep[3] = exp[op2no].X_add_number; in md_assemble()
1506 opcodep[3] = exp[op2no].X_add_number; in md_assemble()
1507 opcodep[0] |= IMM_OFFSET_BIT; in md_assemble()
1510 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 3, in md_assemble()
1532 opcodep[1] = (exp[0].X_add_number >> 16) & 255; in md_assemble()
1533 opcodep[2] = (exp[0].X_add_number >> 8) & 255; in md_assemble()
1534 opcodep[3] = exp[0].X_add_number & 255; in md_assemble()
1538 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 1, in md_assemble()
1563 opcodep[3] = exp[1].X_add_number; in md_assemble()
1566 opcodep[3] = exp[1].X_add_number; in md_assemble()
1567 opcodep[0] |= IMM_OFFSET_BIT; in md_assemble()
1570 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 3, in md_assemble()
1576 opcodep[2] = exp[1].X_add_number; in md_assemble()
1578 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 2, in md_assemble()
1582 opcodep[3] = exp[2].X_add_number; in md_assemble()
1585 opcodep[3] = exp[2].X_add_number; in md_assemble()
1586 opcodep[0] |= IMM_OFFSET_BIT; in md_assemble()
1589 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 3, in md_assemble()
1613 opcodep[3] = exp[1].X_add_number - 256; in md_assemble()
1630 opcodep[1] = exp[0].X_add_number - 256; in md_assemble()
1635 opcodep[3] = exp[1].X_add_number; in md_assemble()
1638 opcodep[3] = exp[1].X_add_number; in md_assemble()
1639 opcodep[0] |= IMM_OFFSET_BIT; in md_assemble()
1642 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 3, in md_assemble()
1664 opcodep[3] = exp[0].X_add_number; in md_assemble()
1666 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 3, in md_assemble()
1686 opcodep[3] = exp[1].X_add_number; in md_assemble()
1688 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 3, in md_assemble()
1716 opcodep[1] = (exp[0].X_add_number >> 16) & 255; in md_assemble()
1717 opcodep[2] = (exp[0].X_add_number >> 8) & 255; in md_assemble()
1718 opcodep[3] = exp[0].X_add_number & 255; in md_assemble()
1722 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 1, in md_assemble()
1741 opcodep[1] = exp[0].X_add_number & 255; in md_assemble()
1744 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 1, in md_assemble()
1758 opcodep[2] = (exp[1].X_add_number >> 8) & 255; in md_assemble()
1759 opcodep[3] = exp[1].X_add_number & 255; in md_assemble()
1763 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 2, in md_assemble()
1783 opcodep[1] = exp[0].X_add_number & 255; in md_assemble()
1786 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 1, in md_assemble()
1799 opcodep[2] = exp[1].X_add_number & 255; in md_assemble()
1802 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 2, in md_assemble()
1815 opcodep[3] = exp[2].X_add_number & 255; in md_assemble()
1818 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 3, in md_assemble()
1843 opcodep[1] = exp[0].X_add_number; in md_assemble()
1845 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 1, in md_assemble()
1848 opcodep[2] = exp[1].X_add_number; in md_assemble()
1850 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 2, in md_assemble()
1853 opcodep[3] = exp[2].X_add_number; in md_assemble()
1855 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 3, in md_assemble()
1861 opcodep[1] = exp[0].X_add_number; in md_assemble()
1863 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 1, in md_assemble()
1866 opcodep[3] = exp[1].X_add_number; in md_assemble()
1868 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 2, in md_assemble()
1876 opcodep[3] = exp[0].X_add_number; in md_assemble()
1897 opcodep[3] = exp[0].X_add_number; in md_assemble()
1899 fix_new_exp (opc_fragP, opcodep - opc_fragP->fr_literal + 3, in md_assemble()
2305 char *opcodep; in md_convert_frag() local
2328 opcodep = fragP->fr_opcode; in md_convert_frag()
2342 mmix_set_geta_branch_offset (opcodep, 0); in md_convert_frag()
2343 tmpfixP = fix_new (opc_fragP, opcodep - opc_fragP->fr_literal, 4, in md_convert_frag()
2360 mmix_set_geta_branch_offset (opcodep, target_address - opcode_address); in md_convert_frag()
2364 = fix_new (opc_fragP, opcodep - opc_fragP->fr_literal, 4, in md_convert_frag()
2373 mmix_set_jmp_offset (opcodep, target_address - opcode_address); in md_convert_frag()
2377 = fix_new (opc_fragP, opcodep - opc_fragP->fr_literal, 4, in md_convert_frag()