Contents | Prev | Next | Index

lstore

Operation
Store long into local variable

lstore
index

Forms
lstore = 55 (0x37)

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

Description
The index is an unsigned byte. Both index and index + 1 must be valid indices into the local variables of the current frame (§3.6). The value on the top of the operand stack must be of type long. It is popped from the operand stack, and the local variables at index and index + 1 are set to value.

Notes
The lstore 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