prev next contents
ixor

integer bitwise exclusive or

Jasmin Syntax


    ixor

Stack

Before

After
value1
result
value2
...
...

Description

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

Example


; This is like the Java code:
;       int x;
;       x ^= 2;
;
iload_1          ; load local variable 1 onto stack
iconst_2         ; push the integer 2 onto the stack
ixor             ; compute the bitwise exclusive or
istore_1         ; store the result in local variable 1

Bytecode

Type

Description
u1
ixor opcode = 0x82 (130)
See Also

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


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