Module openj9.dtfj

Interface Emulator.Instruction

  • Enclosing interface:
    Emulator

    public static interface Emulator.Instruction
    The base class of all instructions.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long address()
      Return the address of this instruction.
      int id()
      Returns a unique id identifying this instruction.
      String toString()
      Returns a description of this instruction in normal assembler listing format.
    • Method Detail

      • id

        int id()
        Returns a unique id identifying this instruction. This is the opcode as described in Principles Of Operation.
      • address

        long address()
        Return the address of this instruction.
      • toString

        String toString()
        Returns a description of this instruction in normal assembler listing format. For convenience the string is padded to a fixed width.
        Overrides:
        toString in class Object
        Returns:
        String a printable representation for the receiver.