JMP/LBL: Difference between revisions
no edit summary
No edit summary |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1:
[[File:JMPLBL.gif|thumb|How to add the JMP LBL and LBL instructions]]
This page details the jump and label instructions available on the
Jump and Label instructions do not involve motion. They are simply program operations with a directive to go to a line and a label for that destination line.
This article is part of a series on Non-Motion instructions.
==Label Instruction==
Line 15 ⟶ 14:
! Label Instruction
|}
===Instruction Syntax ===
Line 47 ⟶ 42:
===How to add this instruction ===
[[File:Non-Motion Instructions.png|frame|Use this button to get to the menu of non-motion instructions.]]
In the Non-Motion Instructions menu, select the “JMP/LBL” Category. In the “JMP/LBL” menu, select “LBL []”. Once added, type the label number and press enter.
Line 77 ⟶ 73:
There can only ever be one of each label. For example, if you put down two LBL [1] instructions, it will alert you with an asterisk next to the instruction. * Think of them like phone numbers. If two phones had the same number, both would ring, and it would be impossible to know which one the intended destination is.
==Jump Label Instruction==
Line 107 ⟶ 99:
|}
===Instruction Syntax ===
Line 163 ⟶ 154:
====Direct – Any number between 1 and 32766.
Example: LBL [7]
====Indirect – A register containing any number between 1 and 32766. ====
|