mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[FAST486]
The RCL, RCR, ROL and ROR instructions do not update SF, ZF or PF. svn path=/branches/ntvdm/; revision=60841
This commit is contained in:
parent
fde9609542
commit
6e6e0bac08
1 changed files with 7 additions and 4 deletions
|
@ -278,10 +278,13 @@ Fast486RotateOperation(PFAST486_STATE State,
|
|||
}
|
||||
}
|
||||
|
||||
/* Update ZF, SF and PF */
|
||||
State->Flags.Zf = (Result == 0) ? TRUE : FALSE;
|
||||
State->Flags.Sf = (Result & HighestBit) ? TRUE : FALSE;
|
||||
State->Flags.Pf = Fast486CalculateParity(Result);
|
||||
if (Operation >= 4)
|
||||
{
|
||||
/* Update ZF, SF and PF */
|
||||
State->Flags.Zf = (Result == 0) ? TRUE : FALSE;
|
||||
State->Flags.Sf = (Result & HighestBit) ? TRUE : FALSE;
|
||||
State->Flags.Pf = Fast486CalculateParity(Result);
|
||||
}
|
||||
|
||||
/* Return the result */
|
||||
return Result;
|
||||
|
|
Loading…
Reference in a new issue