dstore_0 or dstore_1 or dstore_2 or dstore_3Stack
Before | After |
value-word1 | ... |
value-word2 | |
... |
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 local variable numbers in the current frame.
See the description of dstore for more information on how doubles are stored in local variables.
'dstore_<n>' is functionally equivalent to 'dstore <n>', although it is typically more efficient and also takes fewer bytes in the bytecode.
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 4Bytecode
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) |
astore, dstore, istore, fstore, lstore