All Implemented Interfaces:
IInstructionOperandGeneric, IInstructionOperandRegisterBased, IInstructionOperandSized, IInstructionOperand

@Ser public class Operand extends AbstractInstructionOperandGeneric
A simple implementation of IInstructionOperandGeneric.
  • Constructor Details

    • Operand

      public Operand(int type, int size, long value)
      Create a generic operand.
      Parameters:
      type - operand type
      size - operand size in bits
      value - operand value
  • Method Details

    • getRegisterName

      public String getRegisterName(long registerIdentifier)
      The default implementation throws an UnsupportedOperationException.
      Parameters:
      registerIdentifier - register identifier
      Returns:
      register name