ret

Return from Procedure

RET

Pop EIP/RIP and resume execution.

Details

The Return from Procedure instruction pop EIP/RIP and resume execution.

Pseudocode Operation

RIP <- Memory[RSP]
RSP <- RSP + operand_size

Example

RET

Encoding

Binary Layout
C3
+0
 
Format Legacy
Opcode C3
Extension Base

Operands