MOVELABEL


9.5B

 

The MOVELABEL instruction moves the program execution label address for the source operand and stores it into the second operand which is a execution pointer. The instruction the following format:

 

 

[label]

MOVELABEL

{source}{sep}{exeptr}

 

Where:

label

Optional. A Program Execution Label.

source
Required. A Program Execution label, previously defined execution LABEL pointer, or previously defined EXTERNAL variable.
sep
Required. A comma or one of the following prepositions: BY, TO, OF, FROM, USING, WITH, IN, or INTO.

exeptr

Required. A previously declared execution LABEL pointer.

 

Flags Affected: none

Note the following:

  1. If the {source} operand is an execution LABEL pointer that is empty, the destination {exeptr} is set to empty after the operation is completed.

  2. If the {source} operand is an EXTERNAL label reference, the MOVELV instruction automatically loads and resolves all external routines in the load module if the load module is not previously loaded.

 

 

See Also: System Interface Instructions

 



PL/B Language Reference MOVEGADDR MOVELV