Class SVM_POPK


public class SVM_POPK extends SVM_Instruction

SVM-INSTRUCTION: POPK n

Runtime Stack
	..., value1, value2, ... , value'n →
	...,

The 'n' values on the top of the Runtime stack is popped off and forgotten.

Link to GitHub: Source File.

Author:
S-Port: Definition of S-code, Øystein Myhre Andersen
  • Field Details

    • n

      private final int n
      The number of stack items to pop
  • Constructor Details

    • SVM_POPK

      public SVM_POPK(int n)
      Construct a new SVM_POPK instruction
      Parameters:
      n - the number of stack items to pop
    • SVM_POPK

      private SVM_POPK(AttributeInputStream inpt) throws IOException
      Construct an SVM_POPK instruction from the given input.
      Parameters:
      inpt - the input stream
      Throws:
      IOException - if IOException occur
  • Method Details