ereisch - 2019-10-31

More on this: I also think all of the "negative summands" flag setting sections in correctOvCaFlagafterAddSubExtended() are incorrect. From reading this (accepted answer), the "addition" section flags are all being set correctly, but the subtraction (negative "b") flags are not:

+-+ should probably not be setting OF
+-- should probably be setting CF
--+ should probably not be setting CF
--- should probably not be setting OF

That was just a cursory glance, and also assuming that the table in the the accepted answer in the linked posting is correct.

 

Last edit: ereisch 2019-10-31