How does SLT (Skip if Less Than) work?
SLT gives some people trouble because of the way modular arithmetic works. It is important to note that all negative numbers are converted to positive numbers before a battles begins. Example: (-1) becomes (M – 1) where M is the memory size. Once you realize that all numbers are treated as positive, it is clear what is meant by “less than”. It should also be clear that no number is less than zero.