Contents | Prev | Next | Index

land

Operation
Boolean AND long

land

Forms
land = 127 (0x7f)

Stack
..., value1.word1, value1.word2, value2.word1, value2.word2 ..., result.word1, result.word2

Description
Both value1 and value2 must both be of type long. They are popped from the operand stack. A long result is calculated by taking the bitwise AND of value1 and value2. The result is pushed onto the operand stack.


Contents | Prev | Next | Index

Java Virtual Machine Specification (HTML generated by dkramer on February 25, 1997)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com