Function
#pragma NO_FRAME
None
None
None
This pragma suppresses the generation of frame code and is useful for inline assembler functions.
The code generated in a function with #pragma NO_FRAME 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_FRAME 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.*/ ... } }