/** discard the top stack element */
static public final byte POP = -14;
- /** pop two elements; call stack[-n](stack[-n+1], stack[-n+2]...) where n is the number of args to the function */
+ /** pop element; call stack[top](stack[-n], stack[-n+1]...) where n is the number of args to the function */
public static final byte CALL = -15;
/** pop an element; push a JS.JSArray containing the keys of the popped element */
public static final byte PUSHKEYS = -16;
- /** swap the top two elements on the stack */
+ /** pops [arg+2] elements, pushes the former top element, then pushes back the rest (retaining order) */
public static final byte SWAP = -17;
/** execute the ForthBlock pointed to by the literal in a fresh scope with parentJSScope==THIS */
* and FALSE for all subsequent iterations */
public static final byte LOOP = -22;
- /** pop three elements off the stack; method arguments, method name, and an object to call the method on, then calls the method
- Has a similar effect a a GET followed by a CALL */
+ /** similar effect a a GET followed by a CALL */
public static final byte CALLMETHOD = -23;
/** finish a finally block and carry out whatever instruction initiated the finally block */