The RCL, RCR, ROL and ROR instructions do not update SF, ZF or PF.
svn path=/branches/ntvdm/; revision=60841
}
}
- /* 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;