Store int into local variable
Format
istore
index
Forms
istore = 42 (0x2a)
Stack
…, value.word1, value.word2 → …
Description
The index is an unsigned byte. Both index and index + 1 must be a valid index into the local variables of the current frame ( Section 3.5, Frames). The value on top of the operand stack must be of type int. It is popped from the operand stack, and the local variables at index and index + 1 are set to value.
Notes
If a virtual machine does not support the int data type, the istore instruction will not be available.