-
RET, and its exact synonymRETN, popIPorEIPfrom the stack and transfer control to the new address. Optionally, if a numeric second operand is provided, they increment the stack pointer by a furtherimm16bytes after popping the return address. -
RETFexecutes a far return: after poppingIP/EIP, it then popsCS, and then increments the stack pointer by the optional argument if present.
retnq
386 and laterReturn from Procedure Call
retnq | retnq imm16Loading...
Forms
Every form of retnq the assembler accepts.
| Form | Since | Notes |
|---|---|---|
| retnq | 386 | long |
| retnq imm16 | 386 | long |