Site Tools


Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcvm:7.5.5_aload_n

7.5.5 aload_<n>

Load reference from local variable

Format

aload_

Forms

aload_0 = 24 (0x18) aload_1 = 25 (0x19) aload_2 = 26 (0x1a) aload_3 = 27 (0x1b)

Stack

… → …, objectref

Description

The must be a valid index into the local variables of the current frame ( Section 3.5, Frames). The local variable at must contain a reference. The objectref in the local variable at is pushed onto the operand stack.

Notes

An aload_ instruction cannot be used to load a value of type returnAddress from a local variable onto the operand stack. This asymmetry with the corresponding astore_ instruction is intentional.

Each of the aload_ instructions is the same as aload with an index of , except that the operand is implicit.

javacard/jcvm/7.5.5_aload_n.txt · Last modified: 2017/05/13 04:09 (external edit)