enter_leave
In this section:
Syntax
#pragmaenter_leave={inline|subroutine}
Parameters
| Inlines the prologue and epilogue code in functions. |
| Performs calls to prologue and epilogue subroutines from functions. |
Description
Use this pragma directive to control whether to inline the prologue and epilogue sequences or to perform calls to subroutines. Inlining these sequences can be used when a function needs to exist on its own as in, for example, a boot loader that needs to be independent of the libraries it is replacing.
Example
#pragma enter_leave=inline
void bootloader(void) @"BOOTSECTOR"
{
...
}