109.

prev next contents
land

long integer bitwise and

Jasmin Syntax
     land 
Stack

Before

After
value1-word1
result-word1
value1-word2
result-word2
value2-word1
...
value2-word2

...

Description

Pops two long integers off the stack. Computes the bitwise and of value1 and value2. The long integer result replaces value1 and value2 on the stack.

Example

 ; This is like the Java code: ;       long x; ;       x &= 1; ; lload_1          ; push the long integer in local variable 1 lconst_1         ; push the integer 1 onto the stack land             ; compute the bitwise and lstore_1         ; store the long result in local variable 1 
Bytecode

Type

Description
u1
land opcode = 0x7F (127)
See Also

ishl, ishr, iushr, lshl, lshr, lushr, iand, ior, lor, ixor, lxor


prev next contents
Java Virtual Machine, by Jon Meyer and Troy Downing, O'Reilly Associates


Java Virtual Machine
Java Virtual Machine (Java Series)
ISBN: 1565921941
EAN: 2147483647
Year: 1996
Pages: 171

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net