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 OR int
Format
ior
Forms
ior = 86 (0x56)
Stack
…, value1.word1, value1.word2, value2.word1, value2.word2 → …, result.word1, result.word2
Description
Both value1 and value2 must be of type int. The values are popped from the operand stack. An int result is calculated by taking the bitwise inclusive OR 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 ior instruction will not be available.