swap

Class: B

(legend)

Operand Stack Heap Condition Codes
  • Initial (operands):
    variable 1
    variable 2
  • Final (return values):
    variable 2
    variable 1
N/A
N/A

Description

Pops two variables off the stack and pushes them back on in the reverse order.

This page was last updated on December 7, 2005 5:11 AM.
This work is supported by the ONR MURI Project CONTESSA and the NSF under grant number CCR-9970939.