Java bytecode: Difference between revisions

Content deleted Content added
Sttaft (talk | contribs)
Mention AppletMagic
Chip Zero (talk | contribs)
The Java bytecodes: add java 5 "ldc class" instruction
Line 396:
| lconst_1 || align="center" | 0a || || → 1L || pushes the long 1 onto the stack
|-
| ldc || align="center" | 12 || index || → value || pushes a constant ''#index'' from a constant pool (String, int, float or floatclass type) onto the stack
|-
| ldc_w || align="center" | 13 || indexbyte1, indexbyte2 || → value || pushes a constant ''#index'' from a constant pool (String, int, float or floatclass type) onto the stack (wide ''index'' is constructed as ''indexbyte1 << 8 + indexbyte2'')
|-
| ldc2_w || align="center" | 14 || indexbyte1, indexbyte2 || → value || pushes a constant ''#index'' from a constant pool (double or long) onto the stack (wide ''index'' is constructed as ''indexbyte1 << 8 + indexbyte2'')