iastore

Store into int array

Bytecode

Type Description
u1 iastore opcode = 0x4F (79)

Stack ..., arrayref, index, value => ...

Description

Takes an int from the stack and stores it in an array of ints.

The arrayref must be of type reference and must refer to an array whose components are of type int. Both index and value must be of type int. The arrayref, index, and value are popped from the operand stack. The int value is stored as the component of the array indexed by index.

Exceptions

NullPointerException - arrayref is null

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