Site Tools


Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcvm:7.5.99_sreturn

7.5.99 sreturn

Return short from method

Format

sreturn

Forms

sreturn = 120 (0x78)

Stack

…, value → [empty]

Description

The value must be of type short. 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.

javacard/jcvm/7.5.99_sreturn.txt · Last modified: 2017/05/13 04:11 (external edit)