mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 02:43:48 +00:00
[FAST486]
Update the AC flag in the POPF instruction. svn path=/branches/ntvdm/; revision=62278
This commit is contained in:
parent
b9dd7fc5fc
commit
011259b78f
|
@ -378,8 +378,9 @@ typedef union _FAST486_FLAGS_REG
|
|||
ULONG Reserved2 : 1;
|
||||
ULONG Rf : 1;
|
||||
ULONG Vm : 1;
|
||||
ULONG Ac : 1;
|
||||
|
||||
// ULONG Reserved : 14;
|
||||
// ULONG Reserved : 13;
|
||||
};
|
||||
} FAST486_FLAGS_REG, *PFAST486_FLAGS_REG;
|
||||
|
||||
|
|
|
@ -4284,6 +4284,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodePopFlags)
|
|||
State->Flags.Df = NewFlags.Df;
|
||||
State->Flags.Of = NewFlags.Of;
|
||||
State->Flags.Nt = NewFlags.Nt;
|
||||
State->Flags.Ac = NewFlags.Ac;
|
||||
|
||||
if (Cpl == 0) State->Flags.Iopl = NewFlags.Iopl;
|
||||
if (Cpl <= State->Flags.Iopl) State->Flags.If = NewFlags.If;
|
||||
|
|
Loading…
Reference in a new issue