Site Tools


Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcvm:7.5.25_goto_w

7.5.25 goto_w

Branch always (wide index)

Format

goto_w

branchbyte1

branchbyte2

Forms

goto_w = 168 (0xa8)

Stack

No change

Description

The unsigned bytes branchbyte1 and branchbyte2 are used to construct a signed 16-bit branchoffset, where branchoffset is (branchbyte1 « 8) | branchbyte2. Execution proceeds at that offset from the address of the opcode of this goto instruction. The target address must be that of an opcode of an instruction within the method that contains this goto instruction.

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