Site Tools


Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcvm:7.5.30_iand

7.5.30 iand

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.

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