The value of 89 is the correct result of subtracting negative 28554 from negative 28465. If the screen capture was of the scan that caused the underflow, neither of the one-shots were true in that scan since the value of S:42 was zero. Unless something in ladder logic wrote zero to S:42 between those rungs and the end of the program.