List of Java bytecode instructions: Difference between revisions

Content deleted Content added
YD407OTZ (talk | contribs)
No edit summary
Undid revision 899556181 by YD407OTZ (talk) - Not supported by the references, and nonsensical: if it's computed a runtime, it's not a "constant". Constants come from a class's constant pool entries.
Line 1,153:
|1: index
|→ value
|push a constant ''#index'' from a constant pool (String, int, float, Class, java.lang.invoke.MethodType, or java.lang.invoke.MethodHandle, or a dynamically-computed constant) onto the stack
|-
|ldc_w
Line 1,160:
|2: indexbyte1, indexbyte2
|→ value
|push a constant ''#index'' from a constant pool (String, int, float, Class, java.lang.invoke.MethodType, or java.lang.invoke.MethodHandle, or a dynamically-computed constant) onto the stack (wide ''index'' is constructed as {{mono|indexbyte1 << 8 + indexbyte2}})
|-
|ldc2_w
Line 1,167:
|2: indexbyte1, indexbyte2
|→ value
|push a constant ''#index'' from a constant pool (double, long, or a dynamically-computed constantlong) onto the stack (wide ''index'' is constructed as {{mono|indexbyte1 << 8 + indexbyte2}})
|-
|ldiv