JVM Knowledge

lload

Raw .md Oracle

Operation

Load long from local variable

Format

lload
index

Forms

lload = 22 (0x16)

Operand Stack

... →

..., value

Description

The index is an unsigned byte. Both index and index+1 must be indices into the local variable array of the current frame (§2.6). The local variable at index must contain a long. The value of the local variable at index is pushed onto the operand stack.

Notes

The lload opcode can be used in conjunction with the wide instruction (§wide) to access a local variable using a two-byte unsigned index.