### Stack effect is inverted - what does that mean?

Posted:

**04 Mar 2017 06:34**In the documentation for bitLeft and bitRight, a precaution mentioning to be careful due to Oforth's stack effect to invert an integer (method of

integer). If I understand the precaution correctly, would that mean that the maximum positive number on the stack if incremented by 1 will result in a negative number?

If that's so, then bit shifting has to have the result checked for whether the most significant bit has been toggled from 0 to 1 then, right?

Is there a way to verify the maximum number of bits a particular processor is capable of handling?

Thanks in advance,

Bob

integer). If I understand the precaution correctly, would that mean that the maximum positive number on the stack if incremented by 1 will result in a negative number?

If that's so, then bit shifting has to have the result checked for whether the most significant bit has been toggled from 0 to 1 then, right?

Is there a way to verify the maximum number of bits a particular processor is capable of handling?

Thanks in advance,

Bob