45.

prev next contents
dastore

store in double-precision float array

Jasmin Syntax
     dastore 
Stack

Before

After
value-word1
...
value-word2

index

arrayref

...

Description

Pops a two-word double precision floating point number from the stack and stores it in an array of doubles. arrayref is a reference to an array of doubles. index is an int. value is the double to be stored in the array. arrayref, index and value are removed from the stack, and value is stored in the array at the given index.

Exceptions

NullPointerException - arrayref is null

ArrayIndexOutOfBoundsException - index is < 0 or is >= arrayref.length

Bytecode

Type

Description
u1
dastore opcode = 0x52 (82)
See Also

iastore, lastore, fastore, aastore, bastore, castore, sastore, iaload, laload, faload, daload, aaload, baload, caload, saload

Notes

Array indices start at 0 (the first entry in the array is at index 0).


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