The load instructions load a value on the operand stack.
The following instructions load a value from a local variable on the operand stack:
..., value.
n>, fload_
n>, lload_
n>,
dload_
n>, aload_
n>. Load respectively a value of
type int, float, long, double and reference
from a local variable at index <n> onto the operand stack where
<n> = (0..3). These are specialized instructions,
introduced because it is often needed to access local variables at postitions
0 through 3. No operands. Stack: ...
..., value.
The following instructions load a constant on the operand stack:
..., byte.
..., short.
..., item.
..., item.
..., item.
i>, fconst_
f>, lconst_
l>,
dconst_
d>. Push respectively int <i>, float
<f>, long <l> and double <d> on the
operand stack, where <i> is (0..5), <f> is (0..2),
<l> is (0..1) and <d> is (0..1). No operands. Stack:
...
..., value.
..., -1.
..., null.