Operation
Load float from local variable
Format
fload
index
Forms
fload = 23 (0x17)
Operand Stack
... →
..., value
Description
The index is an unsigned byte that must be an index into the local variable array of the current frame (§2.6). The local variable at index must contain a float. The value of the local variable at index is pushed onto the operand stack.
Notes
The fload opcode can be used in conjunction with the wide instruction (§wide) to access a local variable using a two-byte unsigned index.