retd

Return, 32-bit

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

386 and laterNot available in 64-bit mode

Intel's reference: RET

CFPFAFZFSFDFOF –––––––
  • Changes no flag

Forms

  • retd
  • retd

Operands

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

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