Home | History | Annotate | Download | only in config

Lines Matching defs:OPCODE

498    so that we can retain this alignment as we adjust opcode sizes.  */
576 0 /* opcode */);
735 opcode (like BRA.S). We store the number of total bytes we need in
737 existing opcode bytes to figure out what actual opcode we need to
773 /* Given the opcode bytes at OP, figure out which opcode it is and
774 return the type of opcode. We use this to re-encode the opcode as
866 /* Estimate how big the opcode is after this relax pass. The return
877 /* This is the size of the opcode that's accounted for in fr_fix. */
879 /* This is the size of the opcode that isn't. */
887 each opcode must be. We store the total number of bytes needed in
905 /* If we ever get more than one reloc per opcode, this is the one
1019 /* This lets us test for the opcode type and the desired size in a
1021 #define OPCODE(type,size) ((type) * 16 + (size))
1023 /* Given the opcode stored in fr_opcode and the number of bytes we
1024 think we need, encode a new opcode. We stored a pointer to the
1025 fixup for this opcode in the tc_frag_data structure. If we can do
1028 the new (biggest) opcode. */
1045 /* If we ever get more than one reloc per opcode, this is the one
1049 /* We used a new frag for this opcode, so the opcode address should
1081 switch (OPCODE (rl78_opcode_type (fragP->fr_opcode), fragP->fr_subtype))
1084 case OPCODE (OT_bt, 3): /* BT A,$ - no change. */
1090 case OPCODE (OT_bt, 6): /* BT A,$ - long version. */
1102 case OPCODE (OT_bt_sfr, 4): /* BT PSW,$ - no change. */
1108 case OPCODE (OT_bt_sfr, 7): /* BT PSW,$ - long version. */
1120 case OPCODE (OT_bt_es, 4): /* BT ES:[HL],$ - no change. */
1126 case OPCODE (OT_bt_es, 7): /* BT PSW,$ - long version. */
1138 case OPCODE (OT_bc, 2): /* BC $ - no change. */
1144 case OPCODE (OT_bc, 5): /* BC $ - long version. */
1156 case OPCODE (OT_bh, 3): /* BH $ - no change. */
1162 case OPCODE (OT_bh, 6): /* BC $ - long version. */
1174 case OPCODE (OT_sk, 2): /* SK<cond> - no change */