Comment 3 for bug 579320

Revision history for this message
Aanjhan Ranganathan (aanjhan) wrote :

Hi Debajit,

Your patch wont work for B = A condition (where Z flag must be rised).

reason: the check_and_set_flags function just uses the result passed to it. Since you pass "a" , a temp variable whose value does not hold the value after subtraction the zero flag wont be set.

This one is tricky as like medling around with any instruction related errors. Thanks for the patch. I am trying to base the changes on your idea.

If I am wrong, feel free to shoot.

Regards,
Aanjhan
PS: Patch will follow soon