Keil™, An ARM® Company

Technical Support

C251: EJECT DIRECTIVE


Information in this article applies to:

  • C251 Version 1.24
  • C251 Version 2.14

QUESTION

What does the EJECT directive do?

ANSWER

The EJECT directive (abbreviated with EJ) inserts a form feed character into the listing file. This directive must be used in the source file within a #pragma statement. For example:

#pragma EJECT
void main (void)
{
}


#pragma EJECT
int function_a (void)
{
}

When compiled, the generated listing file will place the main function on one page and the function_a function on a different page.

MORE INFORMATION

  • Refer to EJECT in the Cx51 User's Guide.

Last Reviewed: Friday, July 15, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure