n is negative, positive or zero? return 1, 2, or 4
First, if this variable is to be updated after (nearly) every instruction, the obvious piece of advice is this: don’t Only update it when the subsequent instructions need its value. At any other time, there’s no point in updating it. But anyway, when we update it, what we want is this behavior: R < 0 … Read more