In addition to the above variable-based operations, stack-based operations are available. In general, stack-based operations are performed by PUSHing operands onto the stack, then calling the desired operation. The operand values are then POPed off the stack, with the result of the operation PUSHed back to the stack.

LOCAL:x // declare a local variable xLET:x:6// x = 1 (binary 0110) PUSH:2// place 2 on the stack (binary 0010)PUSH:x // place the value of x on the stackAND// stack value is now 6 And 2PUSH:1// place 1 on the stack IOR// stack value is now 2 Or 1POP:x // x = top of stackPRINT:"x = %d":x // output x = 3 (binary 0011)