lxor :
long integer bitwise exclusive or : index : visitInsn()
- Description
- Pops two long integers off the stack. Computes the bitwise exclusive or
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 ; load long in local variable 1 onto stack
lconst_1 ; push the integer 1 onto the stack
lxor ; compute the bitwise exclusive or
lstore_1 ; store the long result in local variable 1
- See also
- ishl ishr iushr lshl lshr lushr iand land ior lor ixor
- Stack
Before
|
After |
value1-word1 |
result-word1 |
value1-word2 |
result-word2 |
value2-word1 |
... |
value2-word2 |
... |
... |
... |
- Bytecode
Type
|
Description |
u1
|
lxor
opcode = 0x83 (131)
|