---
spec: JVMS
title: "The Java Virtual Machine Specification"
edition: "Java SE 24 Edition"
java_version: 24
chapter: "Chapter 6. The Java Virtual Machine Instruction Set"
section: "6.5.ixor"
heading: "ixor"
parent: "6.5. Instructions"
source: https://docs.oracle.com/javase/specs/jvms/se24/html/jvms-6.html#jvms-6.5.ixor
id: "6.5.ixor"
url: https://jvm.obfuscated.software/jvms/se24/6.5.ixor.html
raw: https://jvm.obfuscated.software/jvms/se24/6.5.ixor.md
---

# ixor

## Operation

Boolean XOR `int`

## Format

```
ixor
```

## Forms

*ixor* = 130 (0x82)

## Operand Stack

..., *value1*, *value2* →

..., *result*

## 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 exclusive OR of *value1* and *value2*. The *result* is pushed onto the operand stack.
