Contents | Prev | Next | Index

dstore

Operation
Store double into local variable

dstore
index

Forms
dstore = 57 (0x39)

Stack
..., value.word1, value.word2 ...

Description
The index is an unsigned byte. Both index and index + 1 must be valid indices into the of the current frame (§3.6). 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 index and index + 1 are set to value.

Notes
The dstore opcode can be used in conjunction with the wide instruction to access a local variable using a two-byte unsigned index.


Contents | Prev | Next | Index

Java Virtual Machine Specification (HTML generated by dkramer on February 25, 1997)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com