SWAPF and EXCHANGEF can be generalized.

- EXCHANGEF shifts its second argument into its first argument and its
  first argument into the evaluation "position." This is generalizable.

- SWAPF similarly rotates its place arguments. The generalization would
  be perfect for implementing binary tree rotation.