Class POP2

All Implemented Interfaces:
Cloneable, PopInstruction, StackConsumer

public class POP2 extends StackInstruction implements PopInstruction
POP2 - Pop two top operand stack words
Stack: ..., word2, word1 -> ...
  • Constructor Details

    • POP2

      public POP2()
  • Method Details

    • accept

      public void accept(Visitor v)
      Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.
      Specified by:
      accept in class Instruction
      Parameters:
      v - Visitor object