mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[SOFT386]
The immediate operand should be fetched before attempting to read the MOD-REG-R/M byte operands. svn path=/branches/ntvdm/; revision=60460
This commit is contained in:
@@ -384,15 +384,15 @@ SOFT386_OPCODE_HANDLER(Soft386OpcodeGroupC0)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Read the operands */
|
||||
if (!Soft386ReadModrmByteOperands(State, &ModRegRm, &Dummy, &Value))
|
||||
/* Fetch the count */
|
||||
if (!Soft386FetchByte(State, &Count))
|
||||
{
|
||||
/* Exception occurred */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Fetch the count */
|
||||
if (!Soft386FetchByte(State, &Count))
|
||||
/* Read the operands */
|
||||
if (!Soft386ReadModrmByteOperands(State, &ModRegRm, &Dummy, &Value))
|
||||
{
|
||||
/* Exception occurred */
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user