entry

Defines an entry point into the current function.

entry [ extern | static ] 
  name  

Use the extern qualifier to declare a global entry point; use the static qualifier to declare a local entry point. If you leave out the qualifier, extern is assumed.

Note: Inline-assembly directive entry can be used only with Function-level assembly code.

Using the entry directive shows how to use the entry directive.

Listing 1. Using the entry directive
void __save_fpr_15(void);
void __save_fpr_16(void);
asm void __save_fpr_14(void)
{
  stfd   fp14,-144(SP)
  entry  __save_fpr_15
  stfd   fp15,-136(SP)
  entry  __save_fpr_16
  stfd  fp16,-128(SP)
  // ...
  blr
}