3.

prev next contents
dstore_<n>

store double in local variables <n> and <n> + 1

Jasmin Syntax
     dstore_0 or     dstore_1 or      dstore_2 or     dstore_3 
Stack

Before

After
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 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 4 
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)
See Also

astore, dstore, istore, fstore, lstore


prev next contents
Java Virtual Machine, by Jon Meyer and Troy Downing, O'Reilly Associates


Java Virtual Machine
Java Virtual Machine (Java Series)
ISBN: 1565921941
EAN: 2147483647
Year: 1996
Pages: 171

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net