MIPS Prolog and Epilog

9/7/2007

Prolog and epilog code segments are required to implement SEH for MIPS microprocessors.

The MIPS prolog contains code that sets up the stack frame for a routine, and the epilog contains the code that removes the routine's frame and then returns to the calling function. The MIPS compiler generates prolog and epilog code to perform these tasks, but you must write the prolog and epilog code for any assembly code functions that you write.

In This Section

MIPS Assembler Macros

MIPS Prolog

MIPS Epilog

SEH in RISC Environments

MIPS Stack Frame Layout