MOVE - Integer to Integer
This MOVE instruction transfers the contents of the source integer variable into the destination integer variable. The instruction uses the following format:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
source
Required. An INTEGER variable that serves as the source operand.
sep
Required. A comma or one of the following prepositions: BY, TO, OF, FROM, USING, WITH, IN, or INTO.
dest
Required. An INTEGER variable that serves as the destination operand.
Flags Affected: EOS, LESS, OVER, ZERO
Note the following:
See Note 2 under MOVE - Character String to Integer for information regarding storage of INTEGER variables on various systems.
If {source} contains a value greater than {dest} is capable of holding, the high order bytes are lost and the OVER Condition Flag is set. {source} remains unchanged
If {source} is equal to 0 (or uninitialized), {dest} equals 0 (all bytes set to 0x0).
The ZERO, LESS, and OVER Condition Flags are applicable as in MOVE - Numeric to Numeric.
See Also: Example Code, MOVE
![]() |