fload_n : retrieve float from local variable <n> : index :

Description
fload_n represents the series of opcodes fload_0, fload_1, fload_2, and fload_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.

'fload_n' is functionally equivalent to 'fload <n>', although it is typically more efficient and also takes fewer bytes in the bytecode.
Example
fload_0         ;push float in local variable 0
fload_1         ;push float in local variable 1
fload_2         ;push float in local variable 2
fload_3         ;push float in local variable 3
See also
aload iload lload dload fload
Stack
Before After
... float-value
...
Bytecode
Type Description
u1 fload_0 opcode = 0x22 (34)
u1 fload_1 opcode = 0x23 (35)
u1 fload_2 opcode = 0x24 (36)
u1 fload_3 opcode = 0x25 (37)