iload_n : push integer from local variable <n> : index :

Description
iload_n represents the series of opcodes iload_0, iload_1, iload_2, and iload_3 that retrieve a single precision float in local variables 0, 1, 2 or 3 and push it onto the stack. <n> must be a valid local variable number in the current frame.

'iload_n' is functionally equivalent to 'iload <n>', although it is typically more efficient and also takes fewer bytes in the bytecode.
Example
iload_0         ;push integer in local variable 0 onto the stack
iload_1         ;push integer in local variable 1 onto the stack
iload_2         ;push integer in local variable 2 onto the stack
iload_3         ;push integer in local variable 3 onto the stack
See also
iload fload lload dload
Stack
Before After
... int-value
...
Bytecode
Type Description
u1 iload_0 opcode = 0x1A (26)
u1 iload_1 opcode = 0x1B (27)
u1 iload_2 opcode = 0x1C (28)
u1 iload_3 opcode = 0x1D (29)