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

# pop2

## Operation

Pop the top one or two operand stack values

## Format

```
pop2
```

## Forms

*pop2* = 88 (0x58)

## Operand Stack

Form 1:

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

...

where each of *value1* and *value2* is a value of a category 1 computational type ([§2.11.1](2.11.1.md)).

Form 2:

..., *value* →

...

where *value* is a value of a category 2 computational type ([§2.11.1](2.11.1.md)).

## Description

Pop the top one or two values from the operand stack.
