7.5.48 iload

Load int from local variable

Format

iload

index

Forms

iload = 23 (0x17)

Stack

… → …, value1.word1, value1.word2

Description

The index is an unsigned byte. Both index and index + 1 must be valid indices into the local variables of the current frame ( Section 3.5, Frames). The local variables at index and index + 1 together must contain an int. The value of the local variables at index and index + 1 is pushed onto the operand stack.

Notes

If a virtual machine does not support the int data type, the iload instruction will not be available.