Site Tools


Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcvm:7.5.60_ireturn

7.5.60 ireturn

Return int from method

Format

ireturn

Forms

ireturn = 121 (0x79)

Stack

…, value.word1, value.word2 → [empty]

Description

The value must be of type int. It is popped from the operand stack of the current frame ( Section 3.5, Frames) and pushed onto the operand stack of the frame of the invoker. Any other values on the operand stack of the current method are discarded.

The virtual machine then reinstates the frame of the invoker and returns control to the invoker.

Notes

If a virtual machine does not support the int data type, the ireturn instruction will not be available.

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