# `enterd`

[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/enterd

**Create 32-bit stack frame**

Category: Stack

Creates a frame with 32-bit frame pointers; unavailable in 64-bit mode.

386 and later · Not available in 64-bit mode

[Intel's reference: ENTER](https://intel.github.io/SDM/instruction/ENTER.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

- `enterd imm16, imm8`
- `enterd imm16`

## Operands

- `imm16`: A 16-bit immediate, `-32768` to `65535`.
- `imm8`: An 8-bit immediate, `-128` to `255`. Instructions that sign-extend it to a wider operand interpret the byte as `-128` to `127`; shift counts do not use this sign extension.

## Description

The first operand reserves an unsigned 16-bit byte count for local storage; the second supplies a nesting level modulo 32, with zero assumed if omitted. This 32-bit operand-size form is unavailable in 64-bit mode.
