Site Tools


Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcvm:7.5.41_ifnonnull

7.5.41 ifnonnull

Branch if reference not null

Format

ifnonnull

branch

Forms

ifnonnull = 103 (0x67)

Stack

…, value → …

Description

The value must be of type reference. It is popped from the operand stack. If the value is not null, branch is used as signed 8-bit offset, and execution proceeds at that offset from the address of the opcode of this ifnonnull instruction. The target address must be that of an opcode of an instruction within the method that contains this ifnonnull instruction.

Otherwise, execution proceeds at the address of the instruction following this ifnonnull instruction.

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