Function
#pragma NO_EXIT
None
None
None
This pragma suppresses generation of the exit code and is useful for inline assembler functions.
The code generated in a function with #pragma NO_EXIT instructs the compiler to rely on the user's stack handling code. It is assumed that the user ensures safe stack use.
The following listing uses the NO_EXIT pragma (along with others) to avoid any Compiler code generation. All code is written in inline assembler.
#pragma NO_ENTRY #pragma NO_EXIT #pragma NO_FRAME #pragma NO_RETURN void Func0(void) { __asm {/* no code should be written by the compiler.*/ ... } }
#pragma NO_ENTRY: No Entry Code