List of Java bytecode instructions: Difference between revisions

Content deleted Content added
It is more clear to the reader if the bitwise operations are labelled OR, AND, and XOR.
Types of LDC instruction changed (check here : https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.10.1.9.ldc)
Line 1,151:
|1: index
|→ value
|push a constant ''#index'' from a constant pool (String, int, float, Class, java.lang.invoke.MethodType, or floatjava.lang.invoke.MethodHandle) onto the stack
|-
|ldc_w
Line 1,158:
|2: indexbyte1, indexbyte2
|→ value
|push a constant ''#index'' from a constant pool (String, int, float, Class, java.lang.invoke.MethodType, or floatjava.lang.invoke.MethodHandle) onto the stack (wide ''index'' is constructed as {{mono|indexbyte1 << 8 + indexbyte2}})
|-
|ldc2_w