Smart Card Solution
User Manual
- R502 Manual
JavaCard API Samples
- Algorithm
Java Card Specification
Knowledge Sharing
Smart Card Solution
User Manual
JavaCard API Samples
Java Card Specification
Knowledge Sharing
Increment local int variable by constant
Format
iinc
index
const
Forms
iinc = 90 (0x5a)
Stack
No change
Description
The index is an unsigned byte. Both index and index + 1 must be valid indices into the local variables of the current frame ( Section 3.5, Frames). The local variables at index and index + 1 together must contain an int. The const is an immediate signed byte. The value const is first sign-extended to an int, then the int contained in the local variables at index and index + 1 is incremented by that amount.
Notes
If a virtual machine does not support the int data type, the iinc instruction will not be available.