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
Boolean AND int
Format
iand
Forms
iand = 84 (0x54)
Stack
…, value1.word1, value1.word2, value2.word1, value2.word2 → …, result.word1, result.word2
Description
Both value1 and value2 must be of type int. They are popped from the operand stack. An int result is calculated by taking the bitwise AND (conjunction) of value1 and value2. The result is pushed onto the operand stack.
Notes
If a virtual machine does not support the int data type, the iand instruction will not be available.