saload


Description: push short from array[index]

Stack

Before After
index short
array ref     

Example

Java---------------------

short a = array[0];

Jasm-------------------

aload_1      ; push the array from local 1
iconst_0      ; push zero
saload      ; get the value

Exceptions

NullPointerException if array ref is null
ArrayIndexOutOfBoundsException if it is out

Back to
Opcodes indexed by function.
Opcodes indexed by number.


back to opcode reference.