Change handling of integer overflow detection and divide by zero check
to keep status in new memory register reg_fl.