lconst_l : push the long integer 0 or 1 : index :
lconst_0 ; push long integer 0 onto the stackNote that you could also use:
ldc2_w 0 ; push the long integer 0 onto the stackalthough this instruction takes more space in the class file and is also slower.
lconst_0 ; push the long int 0 onto the stack lconst_1 ; push the long int 1 onto the stack
Before | After |
... | <l>-word1 |
<l>-word2 | |
... |
Type | Description |
u1 | lconst_0 opcode = 0x09 (9) |
u1 | lconst_1 opcode = 0x0A (10) |