Site Tools


Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcvm:7.5.4_aload

7.5.4 aload

Load reference from local variable

Format

aload

index

Forms

aload = 21 (0x15)

Stack

… → …, objectref

Description

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

Notes

The aload instruction cannot be used to load a value of type returnAddress from a local variable onto the operand stack. This asymmetry with the astore instruction is intentional.

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