Intrinsic-4 Swap

Top  Previous  Next

4: variable:= Swap(value);

 

This intrinsic returns the value obtained by swapping the least two significant bytes of the argument. For example:

 

       X:= Swap($1234);                \X gets $3412