Class SVM_LOADC


public class SVM_LOADC extends SVM_Instruction

SVM-INSTRUCTION: LOAD typeTag value

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

The the values are loaded and pushed onto the Runtime stack. The number of values are type dependent.

Link to GitHub: Source File.

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

    • typeTag

      private final int typeTag
      The type tag
    • value

      private final Value value
      The constant value
  • Constructor Details

    • SVM_LOADC

      public SVM_LOADC(Type type, Value value)
      Construct a new SVM_LOADC instruction
      Parameters:
      type - the type
      value - the constant value
    • SVM_LOADC

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