stack before:..., arrayref, index stack after: ..., value
description:
The Java Virtual Machine takes two top words from the stack.
Arrayref must a reference to a short array and i
must be an integer. As a result virtual machine pushes short
value from index i of array arrayref
on the stack.
exceptions:
NullPointerException - arrayref is
null ArrayIndexOutOfBoundsException - i is not
a legal array index
stack before:..., array, index, value stack after: ...
description:
The Java Virtual Machine stores byte value in index
i of array arrayref. Arrayref
must be a short array, i must be an integer and
value must be a short.
exceptions:
NullPointerException - arrayref is
null ArrayIndexOutOfBoundsException - i is not
a legal array index ArrayStoreException - value is not a short
To execute the swap instruction, the Java Virtual Machine swaps the top two words of the operand stack. Both word1 and word2 must be single-word values.