Java bytecode: Difference between revisions

Content deleted Content added
No edit summary
Line 354:
| instanceof || align="center" | c1 || indexbyte1, indexbyte2 || objectref → result || determines if an object ''objectref'' is of a given type, identified by class reference ''index'' in constant pool (''indexbyte1 << 8 + indexbyte2'')
|-
| invokeinterface || align="center" | b9 || indexbyte1, indexbyte2, count, 0 || objectref, [arg1, arg2, ...] → || invokes an interface method on object ''objectref'', where the interface method is identified by method reference ''index'' in constant pool (''indexbyte1 << 8 + indexbyte2'') and ''count'' is the number of arguments to pop from the stack frame including the object on which the method is being called and must always be greater than or equal to 1
|-
| invokespecial || align="center" | b7 || indexbyte1, indexbyte2 || objectref, [arg1, arg2, ...] → || invoke instance method on object ''objectref'', where the method is identified by method reference ''index'' in constant pool (''indexbyte1 << 8 + indexbyte2'')