Retrieve double
value from local variables
<n> and <n>+1
Bytecode
Type | Description |
u1 | dload_0 opcode = 0x26 (38) |
u1 | dload_1 opcode = 0x27 (39) |
u1 | dload_2 opcode = 0x28 (40) |
u1 | dload_3 opcode = 0x29 (41) |
Stack ... => ..., value.word1, value.word2
Description
Retrieves the double-precision float stored in local variables
<n> and <n> + 1 and pushes it onto the operand stack. Both <n> and
<n> + 1 must be valid local variable numbers in the current frame, and together they
must be holding a double.
Both <n> and <n> + 1 must be valid indices into the local
variables of the current frame. The local variables at <n> and <n> +
1 together must contain a double
. The value of the local variables at <n>
and <n> + 1 is pushed onto the operand stack.
Each of the dload_<n> instructions is the same as dload with an index of <n>, except that the operand <n> is implicit.
Example
dload_0 ; push double in local variables 0 and 1 onto stack dload_1 ; push double in local variables 1 and 2 onto stack dload_2 ; push double in local variables 2 and 3 onto stack dload_3 ; push double in local variables 3 and 4 onto stack