Lines Matching refs:opcode
53 * @param type - The opcode type (i.e., how many bytes it has).
56 * @param opcode - The last byte of the instruction's opcode, not counting
62 uint8_t opcode) {
86 return decision->opcodeDecisions[insnContext].modRMDecisions[opcode].
98 * @param opcode - See modRMRequired().
104 uint8_t opcode,
110 debug("Unknown opcode type");
113 dec = &ONEBYTE_SYM.opcodeDecisions[insnContext].modRMDecisions[opcode];
116 dec = &TWOBYTE_SYM.opcodeDecisions[insnContext].modRMDecisions[opcode];
119 dec = &THREEBYTE38_SYM.opcodeDecisions[insnContext].modRMDecisions[opcode];
122 dec = &THREEBYTE3A_SYM.opcodeDecisions[insnContext].modRMDecisions[opcode];
125 dec = &THREEBYTEA6_SYM.opcodeDecisions[insnContext].modRMDecisions[opcode];
128 dec = &THREEBYTEA7_SYM.opcodeDecisions[insnContext].modRMDecisions[opcode];
523 * readOpcode - Reads the opcode (excepting the ModR/M byte in the case of
526 * @param insn - The instruction whose opcode is to be read.
527 * @return - 0 if the opcode could be read successfully; nonzero otherwise.
530 /* Determine the length of the primary opcode */
550 return consumeByte(insn, &insn->opcode);
555 return consumeByte(insn, &insn->opcode);
560 return consumeByte(insn, &insn->opcode);
567 return consumeByte(insn, &insn->opcode);
625 * At this point we have consumed the full opcode.
629 insn->opcode = current;
659 insn->opcode);
667 insn->opcode,
672 insn->opcode,
855 if (insn->opcodeType == ONEBYTE && insn->opcode == 0x90 &&
868 /* Borrow opcode from one of the other XCHGar opcodes */
869 insn->opcode = 0x91;
874 insn->opcode = 0x90;
884 insn->opcode = 0x90;
1300 * readOpcodeModifier - Reads an operand from the opcode field of an
1303 * @param insn - The instruction whose opcode field is to be read.
1304 * @param inModRM - Indicates that the opcode field is to be read from the
1324 insn->opcodeModifier = insn->opcode - insn->spec->modifierBase;
1333 * readOpcodeRegister - Reads an operand from the opcode field of an