Keil Logo

Cx51 User's Guide

The Cx51 Compiler User's Guide contains information about how to use the Keil C51 and CX51 Compilers. The Cx51 Compiler creates object modules from the C files you write and compile. Object modules created may be added into a library (using the LIB51 Library Manager) or may be linked with other object modules and libraries to form a program (using the BL51 Linker or the LX51 Linker).

This manual contains the following chapters.

  • Introduction provides a brief introduction to the Keil Cx51 Compiler.
  • Compiling Programs specifies how to run the compiler and generate object files. This chapter discusses the directives that are available.
  • Language Extensions discusses the extensions to the ANSI C Language that are implemented by the Cx51 Compiler.
  • Preprocessor describes some of the capabilities of the C language preprocessor.
  • Advanced Programming discusses advanced programming options including startup code, customization files, interfacing C programs to assembler, and data storage formats.
  • Error Messages lists all error and warning messages that are generated by the compiler.
  • Library Reference lists all library routines that are available in the standard Cx51 library.
  • The Appendix provides numerous details about the compiler including differences from ANSI C, version details, compiler limitations, how to write optimum code, and other hints and tips.

Revision History

  • January 2004: Initial revision in CHM format.
  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.