Carry and borrow flag fixes.