Store double
into local variable
Bytecode
Type | Description |
u1 | dstore_0 opcode = 0x47 (71) |
u1 | dstore_1 opcode = 0x48 (72) |
u1 | dstore_2 opcode = 0x49 (73) |
u1 | dstore_3 opcode = 0x4A (74) |
Stack ..., value.word1, value.word2 => ...
Description
Pops a double-precision float off of the operand stack and stores it
in the local variables <n> and <n> + 1. Both <n> and <n>
+ 1 must be valid indices into the local variables of the current frame.
The value on the top of the operand stack must be of type double
.
It is popped from the operand stack, and the local variables at <n> and <n>
+ 1 are set to value.
Each of the dstore_<n> instructions is the same as dstore with an index of <n>, except that the operand <n> is implicit.
Example
dstore_0 ;store double in local variable 0 and 1 dstore_1 ;store double in local variable 1 and 2 dstore_2 ;store double in local variable 2 and 3 dstore_3 ;store double in local variable 3 and 4