Lines Matching defs:byte

233  * @interface_method_impl{FNDISREADBYTES, The default byte reader callber.}
313 * @returns The requested byte.
315 * @param offInstr The offset of the byte relative to the
336 * Read a byte (8-bit) instruction.
338 * @returns The requested byte.
569 * Note! Multibyte opcodes are always marked harmless until the final byte.
631 // else simple one byte instruction
662 * @note Multibyte opcodes are always marked harmless until the final byte.
682 // Little hack to make sure the ModRM byte is included in the returned size
684 offInstr++; //ModRM byte
699 * SIB byte: (not 16-bit mode)
824 * ModR/M byte:
1037 if (rm == 4) /* SIB byte follows ModRM */
1062 if (rm == 4) /* SIB byte follows ModRM */
1074 if (rm == 4) /* SIB byte follows ModRM */
1141 if (mod != 3 && rm == 4) /* SIB byte follows ModRM */
1214 { /* SIB byte follows ModRM */
1286 * encoding of the MOD field in the MODR/M byte.
1298 /* REX.B extends the Rm field if there is no SIB byte nor a 32 bits displacement */
1327 * encoding of the MOD field in the MODR/M byte.
1339 /* REX.B extends the Rm field if there is no SIB byte nor a 32 bits displacement */
1360 /* Note! Only used in group 15, so we must account for the mod/rm byte. */
1368 uint8_t byte = disReadByte(pDis, offInstr);
1375 byte &= 0x7f;
1377 pParam->Base.idxXmmReg = byte >> 4;
1381 pParam->uValue = byte;
1815 pParam->Base.idxGenReg += 8; /* least significant byte of R8-R15 */
1939 /* This is used to avoid a bunch of special hacks to get the ModRM byte
1983 /* 2nd byte */
1990 /* Handle opcode table extensions that rely on the address, repe or repne prefix byte. */
1991 /** @todo Should we take the first or last prefix byte in case of multiple prefix bytes??? */
2046 /* 3rd byte */
2060 /* Handle opcode table extensions that rely on the address, repne prefix byte. */
2061 /** @todo Should we take the first or last prefix byte in case of multiple prefix bytes??? */
2148 /* 3rd byte */
2162 /** @todo Should we take the first or last prefix byte in case of multiple prefix bytes??? */
2292 // It would appear the ModRM byte must always be present. How else can you
2293 // determine the offset of the imm8_opcode byte otherwise?
2352 //little hack to make sure the ModRM byte is included in the returned size
2480 uint8_t byte = disReadByte(pDis, offInstr++);
2483 pDis->bVexDestReg = VEX_2B2INT(byte);
2486 if (pDis->uCpuMode == DISCPUMODE_64BIT && !(byte & 0x80))
2488 /* REX prefix byte */
2493 switch(byte & 3)
2719 * @param paOneByteMap The one byte opcode map to use.
2725 * Parse byte by byte.
2736 /* The REX prefix must precede the opcode byte(s). Any other placement is ignored. */
2739 /* Last prefix byte (for SSE2 extension tables); don't include the REX prefix */
2751 // segment override prefix byte
2762 continue; //fetch the next byte
2764 // lock prefix byte
2767 continue; //fetch the next byte
2769 // address size override prefix byte
2779 continue; //fetch the next byte
2781 // operand size override prefix byte
2788 continue; //fetch the next byte
2793 continue; //fetch the next byte
2797 continue; //fetch the next byte
2801 /* REX prefix byte */
2805 pDis->uOpMode = DISCPUMODE_64BIT; /* overrides size prefix byte */
2806 continue; //fetch the next byte
2820 /* first opcode byte. */
2847 * @param pfnReadBytes The byte reader, can be NULL.