Class AbstractInstructionOperandList

java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.processor.AbstractInstructionOperandGeneric
com.pnfsoftware.jeb.core.units.code.asm.processor.AbstractInstructionOperandList
All Implemented Interfaces:
IInstructionOperandGeneric, IInstructionOperandList, IInstructionOperandRegisterBased, IInstructionOperandSized, IInstructionOperand

@Ser public abstract class AbstractInstructionOperandList extends AbstractInstructionOperandGeneric implements IInstructionOperandList
Reference implementation for IInstructionOperandList.
  • Field Details

    • NO_FLAG

      public static final int NO_FLAG
      represent no flag
      See Also:
    • SURROUND_BRACKETS

      public static final int SURROUND_BRACKETS
      [] container
      See Also:
    • SURROUND_BRACES

      public static final int SURROUND_BRACES
      {} container
      See Also:
    • SURROUND_PARENTHESES

      public static final int SURROUND_PARENTHESES
      () container
      See Also:
    • SURROUND_CHEVRONS

      public static final int SURROUND_CHEVRONS
      <> container
      See Also:
    • SURROUND_QUOTES

      public static final int SURROUND_QUOTES
      '' container
      See Also:
    • SURROUND_DOUBLE_QUOTES

      public static final int SURROUND_DOUBLE_QUOTES
      "" container
      See Also:
    • SURROUND_SPACES

      public static final int SURROUND_SPACES
      "" container
      See Also:
    • SEPARATOR_SPACE

      public static final int SEPARATOR_SPACE
      " " separator
      See Also:
    • SEPARATOR_COMMA

      public static final int SEPARATOR_COMMA
      , separator
      See Also:
    • SEPARATOR_COLON

      public static final int SEPARATOR_COLON
      : separator
      See Also:
    • SEPARATOR_SEMI_COLON

      public static final int SEPARATOR_SEMI_COLON
      ; separator
      See Also:
    • SEPARATOR_HYPHEN

      public static final int SEPARATOR_HYPHEN
      - separator
      See Also:
    • SEPARATOR_SURROUND_SPACE

      public static final int SEPARATOR_SURROUND_SPACE
      " " before and after a separator
      See Also:
    • USER_DEFINED_1

      public static final int USER_DEFINED_1
      Reserved value for Child classes
      See Also:
    • USER_DEFINED_2

      public static final int USER_DEFINED_2
      Reserved value for child classes.
      See Also:
    • USER_DEFINED_3

      public static final int USER_DEFINED_3
      Reserved value for child classes.
      See Also:
    • USER_DEFINED_4

      public static final int USER_DEFINED_4
      Reserved value for child classes.
      See Also:
    • USER_DEFINED_5

      public static final int USER_DEFINED_5
      Reserved value for child classes.
      See Also:
    • USER_DEFINED_6

      public static final int USER_DEFINED_6
      Reserved value for child classes.
      See Also:
    • USER_DEFINED_7

      public static final int USER_DEFINED_7
      Reserved value for child classes.
      See Also:
    • USER_DEFINED_8

      public static final int USER_DEFINED_8
      Reserved value for child classes.
      See Also:
    • FLAG_MASK

      public static final int FLAG_MASK
      Reserved inner space for mask. Concrete children can have bigger space
      See Also:
  • Constructor Details

    • AbstractInstructionOperandList

      public AbstractInstructionOperandList(int size, long value, int flags, IInstructionOperandGeneric... operands)
      Create an operand list.
      Parameters:
      size - size of the operand
      value - internal value, can be 0 if unnecessary
      flags - used to format the operand list : this concerns separator as well as container.
      For example: BRACKETS | COMMA | SPACE will generate a list [el1, el2, el3]
      operands - list of operands
    • AbstractInstructionOperandList

      public AbstractInstructionOperandList(int type, int size, long value, int flags, IInstructionOperandGeneric... operands)
      Create an operand list.
      Parameters:
      type - operand type
      size - size of the operand
      value - internal value, can be 0 if unnecessary
      flags - formatting flags
      operands - list of operands
  • Method Details