invokespecial


Description: calls a special class method
n is the number of arguments to the method
the long method name is really a path name, the name of the class,
the parenthesized argument list of the method called, and the return type.
Primitive types are represented by their capitalized first letter, ie I for an integer.
Constructors are path followed by <init>()V

Stack

Before After
arg n returned value
...       
arg 1       
object reference       

Example

Jasm-------------------

invoke packages/myMath/multiplyMatrix([[F, [[F)V      ;multiplies two two-dimensional matrices of floats

Exceptions

NullPointerException if object ref is null
StackOverflowError if you run ou t of room on stack

Back to
Opcodes indexed by function.
Opcodes indexed by number.


back to opcode reference.