Keil Logo

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
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.