The SAHF instruction loads AH unchanged into the low byte of FLAGS. According to the Intel manual it should instead ignore some bits of AH.
Logged In: YES
Do you have any references for this. As of what i've found it just exchanges the low byte of flags with the content of AH. Why should some bits are ignored there. There maybe are some bits which are undefined in there state ... but those shouldn't be left out.
ok i've found it and will fix it to.