Class Instruction.Nop

  • All Implemented Interfaces:
    Instruction
    Enclosing interface:
    Instruction

    public static final class Instruction.Nop
    extends Object
    implements Instruction
    Not an operation instruction. Stub class that is useful for some cases.
    Since:
    0.2
    • Constructor Detail

      • Nop

        public Nop()
    • Method Detail

      • opcode

        public int opcode()
        Description copied from interface: Instruction
        Opcode number.
        Specified by:
        opcode in interface Instruction
        Returns:
        Opcode number.
      • operand

        public Object operand​(int index)
        Description copied from interface: Instruction
        Retrieve operand by position index.
        Specified by:
        operand in interface Instruction
        Parameters:
        index - Operand index
        Returns:
        Operand