Lines Matching defs:nextByte

94         uint8_t nextByte = getNextByte();
97 state = doPrefixState(nextByte);
100 state = doVex2Of2State(nextByte);
103 state = doVex2Of3State(nextByte);
106 state = doVex3Of3State(nextByte);
109 state = doVexOpcodeState(nextByte);
112 state = doOneByteOpcodeState(nextByte);
115 state = doTwoByteOpcodeState(nextByte);
118 state = doThreeByte0F38OpcodeState(nextByte);
121 state = doThreeByte0F3AOpcodeState(nextByte);
124 state = doModRMState(nextByte);
127 state = doSIBState(nextByte);
178 Decoder::doPrefixState(uint8_t nextByte)
180 uint8_t prefix = Prefixes[nextByte];
221 DPRINTF(Decoder, "Found Rex prefix %#x.\n", nextByte);
222 emi.rex = nextByte;
225 DPRINTF(Decoder, "Found VEX two-byte prefix %#x.\n", nextByte);
230 DPRINTF(Decoder, "Found VEX three-byte prefix %#x.\n", nextByte);
239 panic("Unrecognized prefix %#x\n", nextByte);
245 Decoder::doVex2Of2State(uint8_t nextByte)
248 Vex2Of2 vex = nextByte;
275 Decoder::doVex2Of3State(uint8_t nextByte)
277 if (emi.mode.submode != SixtyFourBitMode && bits(nextByte, 7, 6) == 0x3) {
283 nextByte >= 0xA0 && nextByte <= 0xA3);
287 Vex2Of3 vex = nextByte;
316 Decoder::doVex3Of3State(uint8_t nextByte)
318 if (emi.mode.submode != SixtyFourBitMode && bits(nextByte, 7, 6) == 0x3) {
324 nextByte >= 0xA0 && nextByte <= 0xA3);
328 Vex3Of3 vex = nextByte;
353 Decoder::doVexOpcodeState(uint8_t nextByte)
355 DPRINTF(Decoder, "Found VEX opcode %#x.\n", nextByte);
357 emi.opcode.op = nextByte;
377 Decoder::doOneByteOpcodeState(uint8_t nextByte)
382 if (nextByte == 0x0f) {
383 DPRINTF(Decoder, "Found opcode escape byte %#x.\n", nextByte);
386 DPRINTF(Decoder, "Found one byte opcode %#x.\n", nextByte);
388 emi.opcode.op = nextByte;
391 nextByte >= 0xA0 && nextByte <= 0xA3);
399 Decoder::doTwoByteOpcodeState(uint8_t nextByte)
403 if (nextByte == 0x38) {
405 DPRINTF(Decoder, "Found opcode escape byte %#x.\n", nextByte);
406 } else if (nextByte == 0x3a) {
408 DPRINTF(Decoder, "Found opcode escape byte %#x.\n", nextByte);
410 DPRINTF(Decoder, "Found two byte opcode %#x.\n", nextByte);
412 emi.opcode.op = nextByte;
422 Decoder::doThreeByte0F38OpcodeState(uint8_t nextByte)
426 DPRINTF(Decoder, "Found three byte 0F38 opcode %#x.\n", nextByte);
428 emi.opcode.op = nextByte;
436 Decoder::doThreeByte0F3AOpcodeState(uint8_t nextByte)
440 DPRINTF(Decoder, "Found three byte 0F3A opcode %#x.\n", nextByte);
442 emi.opcode.op = nextByte;
510 Decoder::doModRMState(uint8_t nextByte)
513 ModRM modRM = nextByte;
514 DPRINTF(Decoder, "Found modrm byte %#x.\n", nextByte);
565 Decoder::doSIBState(uint8_t nextByte)
568 emi.sib = nextByte;
569 DPRINTF(Decoder, "Found SIB byte %#x.\n", nextByte);