# `retnd`

[x86-64 Documentation](https://asm-editor.specy.app/documentation/x86.md) › [Instructions](https://asm-editor.specy.app/documentation/x86/instruction.md)

Web page: https://asm-editor.specy.app/documentation/x86/instruction/retnd

**Near return, 32-bit**

Category: Control flow

Returns to a 32-bit near offset; unavailable in 64-bit mode.

386 and later · Not available in 64-bit mode

[Intel's reference: RET](https://intel.github.io/SDM/instruction/RET.html)

## Flags

| Flag | Effect |
| --- | --- |
| CF | not changed |
| PF | not changed |
| AF | not changed |
| ZF | not changed |
| SF | not changed |
| DF | not changed |
| OF | not changed |

## Forms

- `retnd`
- `retnd imm16`

## Operands

- `imm16`: An unsigned 16-bit byte count, `0` to `65535`, added to the stack pointer after the return address is popped.

## Description

The optional sole immediate operand is an unsigned 16-bit additional stack-cleanup byte count. This form is unavailable in 64-bit mode.
