[FAST486]: Rename some 0F0x opcodes to "ExtOpcode..." to clarify what they are and where they are used.

svn path=/trunk/; revision=64881
This commit is contained in:
Hermès Bélusca-Maïto 2014-10-21 21:18:23 +00:00
parent a90ae59c2a
commit c7f4cb10e3
3 changed files with 14 additions and 12 deletions

View file

@ -37,8 +37,8 @@
FAST486_OPCODE_HANDLER_PROC
Fast486ExtendedHandlers[FAST486_NUM_OPCODE_HANDLERS] =
{
Fast486OpcodeGroup0F00, /* 0x00 - 0x01 */
Fast486OpcodeGroup0F01,
Fast486ExtOpcodeGroup0F00, /* 0x00 - 0x01 */
Fast486ExtOpcodeGroup0F01,
Fast486ExtOpcodeLar, /* 0x02 */
Fast486ExtOpcodeLsl, /* 0x03 */
Fast486ExtOpcodeInvalid, /* 0x04 - 0x05 */ // Invalid
@ -222,8 +222,8 @@ Fast486ExtendedHandlers[FAST486_NUM_OPCODE_HANDLERS] =
Fast486ExtOpcodeMovzxByte, /* 0xB6 - 0xB7 */
Fast486ExtOpcodeMovzxWord,
Fast486ExtOpcodeInvalid, /* 0xB8 */ // Invalid
Fast486OpcodeGroup0FB9, /* 0xB9 */
Fast486OpcodeGroup0FBA, /* 0xBA */
Fast486ExtOpcodeGroup0FB9, /* 0xB9 */
Fast486ExtOpcodeGroup0FBA, /* 0xBA */
Fast486ExtOpcodeBtc, /* 0xBB */
Fast486ExtOpcodeBsf, /* 0xBC */
Fast486ExtOpcodeBsr, /* 0xBD */

View file

@ -1703,7 +1703,8 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroupFF)
return TRUE;
}
FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0F00)
FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0F00)
{
FAST486_MOD_REG_RM ModRegRm;
BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size;
@ -2014,7 +2015,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0F00)
}
}
FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0F01)
FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0F01)
{
// FAST486_TABLE_REG TableReg;
UCHAR TableReg[6];
@ -2230,7 +2231,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0F01)
}
}
FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0FB9)
FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0FB9)
{
FAST486_MOD_REG_RM ModRegRm;
BOOLEAN AddressSize = State->SegmentRegs[FAST486_REG_CS].Size;
@ -2248,7 +2249,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0FB9)
return FALSE;
}
FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0FBA)
FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0FBA)
{
FAST486_MOD_REG_RM ModRegRm;
BOOLEAN OperandSize, AddressSize;

View file

@ -42,10 +42,11 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroupF6);
FAST486_OPCODE_HANDLER(Fast486OpcodeGroupF7);
FAST486_OPCODE_HANDLER(Fast486OpcodeGroupFE);
FAST486_OPCODE_HANDLER(Fast486OpcodeGroupFF);
FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0F00);
FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0F01);
FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0FB9);
FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0FBA);
FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0F00);
FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0F01);
FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0FB9);
FAST486_OPCODE_HANDLER(Fast486ExtOpcodeGroup0FBA);
#endif // _OPGROUPS_H_