Keil™, An ARM® Company

C251 User's Guide

C251 User's Guide

The C251 Compiler User's Guide contains information about how to use the Keil C251 Compiler. The C251 Compiler creates object modules from the C files you write and compile. Object modules created may be added into a library (using the LIB251 Library Manager) or may be linked with other object modules and libraries to form a program (using the L251 Linker/Locator).

This manual contains the following topics:

  • Introduction provides a brief introduction to the Keil C251 Compiler.
  • Compiling Programs specifies how to run the compiler and generate object files. This topic discusses the directives that are available.
  • Language Extensions discusses the extensions to the ANSI C Language that are implemented by the C251 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 C251 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