Object

pli

Opcode

Related Doc: package pli

Permalink

object Opcode

Opcodes of individual bytecode instructions.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Opcode
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. val exit: Int

    Permalink

    The opcode for the exit instruction.

    The opcode for the exit instruction.

    The exit instruction terminates execution of the program.

  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. val goto: Int

    Permalink

    The opcode for the goto instruction.

    The opcode for the goto instruction.

    The goto instruction reads the number following the goto instruction from the bytecode and then arranges for execution to continue at a different adress in the bytecode. The target adress of this jump is computed by adding the number from the bytecode to the adress of the goto instruction.

  12. def hasParameter(opcode: Int): Boolean

    Permalink

    Returns whether the opcode reads a parameter from the bytecode.

  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. val iadd: Int

    Permalink

    The opcode for the iadd instruction.

    The opcode for the iadd instruction.

    The iadd instruction pops two numbers from the stack and then pushes the sum of the two numbers on the stack.

  15. val iconst: Int

    Permalink

    The opcode for the iconst instruction.

    The opcode for the iconst instruction.

    The iconst instruction reads the number following the iconst instruction from the bytecode and then pushes this number on the stack. Execution continues with the opcode after the number after the iconst instruction.

  16. val ifeq: Int

    Permalink

    The opcode for the ifeq instruction.

    The opcode for the ifeq instruction.

    The ifeq instruction pops one number from the stack and reads the number following the ifeq instruction from the bytecode. If the number from the stack is equal to 0, the ifeq instruction then arranges for execution to continue at a different adress in the bytecode. The target adress of this jump is computed by adding the number from the bytecode to the adress of the ifeq instruction. But if the number from the stack is different from 0, execution continues after the number after the ifeq instruction.

  17. val ifne: Int

    Permalink

    The opcode for the ifne instruction.

    The opcode for the ifne instruction.

    The ifne instruction pops one number from the stack and reads the number following the ifne instruction from the bytecode. If the number from the stack is different from 0, the ifne instruction then arranges for execution to continue at a different adress in the bytecode. The target adress of this jump is computed by adding the number from the bytecode to the adress of the ifne instruction. But if the number from the stack is equal to 0, execution continues after the number after the ifne instruction.

  18. val iload: Int

    Permalink

    The opcode for the iload instruction.

    The opcode for the iload instruction.

    The iload instruction reads the number following the iload instruction from the bytecode. If the number from the bytecode is n, the iload instruction then fetches the nth item from the stack without removing it from the stack, and then pushes this number on the stack.

    For example, if the top of the stack is 10 and the second number on the stack is 20, iload 0 pushes 10 on the stack, and iload 1 pushes 20 on the stack.

  19. val imul: Int

    Permalink

    The opcode for the imul instruction.

    The opcode for the imul instruction.

    The imul instruction pops two numbers from the stack and then pushes the product of the two numbers on the stack.

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val istore: Int

    Permalink

    The opcode for the istore instruction.

    The opcode for the istore instruction.

    The istore instruction reads the number following the istore instruction from the bytecode. If the number from the bytecode is n, the istore instruction pops a number from the stack and stores the number from the stack as the nth element of the stack.

    For example, if the stack is 10, 20, 30, then after istore 0, the stack would be 10, 30. And after istore 1, the stack would be 20, 10.

  22. val isub: Int

    Permalink

    The opcode for the isub instruction.

    The opcode for the isub instruction.

    The isub instruction pops two numbers from the stack and then pushes the difference of the two numbers on the stack.

  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. val pop: Int

    Permalink

    The opcode for the pop instruction.

    The opcode for the pop instruction.

    The pop instruction pops a number from the stack and ignores it.

  27. val print: Int

    Permalink

    The opcode for the print instruction.

    The opcode for the print instruction.

    The print instruction pops a number from the stack and then prints this number.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(bytecode: Array[Int]): String

    Permalink

    Prints the whole bytecode array to a human-readable representation.

  30. def toString(opcode: Int, parameter: Int): String

    Permalink

    Prints the opcode and the parameter to a human-readable representation.

    Prints the opcode and the parameter to a human-readable representation. For parameterless opcodes, the parameter is ignored.

  31. def toString(opcode: Int): String

    Permalink

    prints the opcode to a human-readable representation.

  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. val values: Seq[Int]

    Permalink

    All opcodes.

  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped