aaload


Description: get ( Object )array[index] and put it on stack

Stack

Before After
index object
array  

Example

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

Object x = arr[0];

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

aload_1      ; load arr reference from local var1
iconst_0      ; load 0
aaload      ; get arr[0] onto stack

Exceptions

NullPointerException array is null
ArrayIndexOutOfBoundsException

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


back to opcode reference.