Programming Reference

Jump to a label somewhere else in the program based on the value of a register.

Code Example
M2:[label0 label1 label2 label3] label4

If M2 = 0, then jump to label0:
If M2 = 1, then jump to label1:
If M2 = 2, then jump to label2:
If M2 = 3, then jump to label3:
If M2 falls outside the array, then jump to label4:

This command is similar to a switch-case statement in C. Different locations in the program can be accessed based
on the value of a register. This is very handy when you want to jump to different locations in the program, especially
when incrementing or decrementing the value in a register.