iload_0 or iload_1 ir iload_2 or iload_3Stack
Before | After |
... | int-value |
| ... |
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 stackBytecode
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) |
iload, fload, lload, dload