Arithmetic bug fixes for SF

Previously, SF would only be set when conditions (ZF or OF)were true,
never when they were false.