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

# ior

## Operation

Boolean OR `int`

## Format

```
ior
```

## Forms

*ior* = 128 (0x80)

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