Epilog (Windows CE 5.0)
Although each procedure has only one prolog, a procedure can contain many epilogs if the procedure uses multiple exit points.
Each epilog is required to have certain specific parts. All parts are contiguous, with no intervening instructions.
Typically, an epilog segment contains separate sequences of instructions that perform the following tasks:
- Restore the frame pointer register, if it was saved in the prolog
- Restore nonvolatile registers, including the Program Counter and the stack
- Restore the return address
- Deallocate the local frame
- Return to the calling function
See Also
SEH in RISC Environments | Prolog-Epilog Example
Send Feedback on this topic to the authors