<<< ENTER and LEAVE commands | Index | Declaring Parameters with the PROC Directive >>> |
There are two formats for the RET instruction.
The most common form has no operand and is simply coded
ret
An alternative version has a single operand and is coded
ret count
where count operand is added to the contents of ESP after restoring EIP and, for a FAR procedure, CS.
<<< ENTER and LEAVE commands | Index | Declaring Parameters with the PROC Directive >>> |