The RET and RETF instructions
Return from a procedure.
Format of the RET and RETF instructions
| Instruction | Description |
|---|---|
| RET | Return from a near procedure (pops IP). |
| RETF | Return from a far procedure (pops IP and CS). |
| RET imm16 | Return from a near procedure and add imm16 to SP (parameter cleanup). |
| RETF imm16 | Return from a far procedure and add imm16 to SP. |
Processor status flags
CF
NoPF
NoAF
NoZF
NoSF
NoTF
NoIF
NoDF
NoOF
No